Type | Name and description |
---|---|
void |
cacheFor(int value, TimeUnit units) States that the cached value should be used if it is no older than the specified duration. |
B |
getCachedResult() Returns the cached result file or null if the result has not been cached. |
A |
getRequest() Returns the query object that was requested in this resolution. |
void |
refresh() States that any cached value should be ignored, forcing a fresh resolve. |
void |
useCachedResult() States that the cached value should be used regardless of age. |
States that the cached value should be used if it is no older than the specified duration.
value
- The number of unitsunits
- The time unitsReturns the cached result file or null if the result has not been cached.
Returns the query object that was requested in this resolution.
States that any cached value should be ignored, forcing a fresh resolve.
States that the cached value should be used regardless of age. If not cachedResult is available, resolution should fail.