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
T refresh()

Refreshes the resource to sync with Azure.

Observable<T> refreshAsync()

Refreshes the resource to sync with Azure.

Method Details

refresh

public T refresh()

Refreshes the resource to sync with Azure.

Returns:

the refreshed resource

refreshAsync

public Observable refreshAsync()

Refreshes the resource to sync with Azure.

Returns:

the Observable to refreshed resource

Applies to