AnnotatedData

public classAnnotatedDataextendsObject

Class to return annotated data. Currently, the only annotation is whether the data is stale or not.

Public Method Summary

T
get()
Returns the data that is annotated by this class.
boolean
isStale()
Returnstrueif the data returned byget() is stale.

Inherited Method Summary

Public Methods

public Tget()

Returns the data that is annotated by this class.

public booleanisStale()

Returnstrueif the data returned byget() is stale. This usually indicates that there was a network error and data was returned from the local cache.