共用方式為


Refreshable<T> Interface

Type Parameters

T

the fluent type of the resource

public interface Refreshable

Base class for resources that can be refreshed to get the latest state.

Method Summary

Modifier and Type Method and Description
abstract T refresh()

Refreshes the resource to sync with Azure.

abstract rx.Observable<T> refreshAsync()

Refreshes the resource to sync with Azure.

Method Details

refresh

public abstract T refresh()

Refreshes the resource to sync with Azure.

Returns:

the refreshed resource

refreshAsync

public abstract Observable refreshAsync()

Refreshes the resource to sync with Azure.

Returns:

the Observable to refreshed resource

Applies to