RequestType - ReplyType - public abstract class CachedDataManager<RequestType,ReplyType> extends SerializedDataManager<RequestType,ReplyType>
SerializedDataManager.AsyncReply<ReplyType>HTTP_ONLY_COOKIES| Constructor and Description | 
|---|
| CachedDataManager(long expiry) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | clearCache()Clear all items from the cache. | 
| ReplyType | fetchAndWait(RequestType args)Fetches the data from the server and waits for a reply. | 
| boolean | isFetchRequired(RequestType args)The Cache Manager will return true if the data is not in the cache and should be re-fetched, or if the 
 data is in the cache but is stale, and therefore needs to be refetched. | 
cancelCurrentRequests, convertReplyToObject, fetch, isBusy, isCompressed, isPostpublic boolean isFetchRequired(RequestType args)
data - public ReplyType fetchAndWait(RequestType args) throws java.lang.Exception
SerializedDataManagerfetchAndWait in class SerializedDataManager<RequestType,ReplyType>args - service/url parameters to be passed to createUrl()java.lang.Exception - if there was an errorpublic void clearCache()