T - The results of the requestpublic interface BoxCacheableRequest<T extends BoxObject>
| Modifier and Type | Method and Description |
|---|---|
T |
sendForCachedResult()
Sends the request to fetch results from cache synchronously.
|
BoxFutureTask<T> |
toTaskForCachedResult()
Converts the request to a BoxCacheFutureTask that can be used to execute the request
asynchronously.
|
T sendForCachedResult() throws BoxException
BoxException - thrown if there is no implementation of BoxCache set in BoxConfig, or if
there was another issue getting cached results.BoxFutureTask<T> toTaskForCachedResult() throws BoxException
BoxException - thrown if there is no implementation of BoxCache set in BoxConfig.