Public 成员函数 | |
| boolean | isExpired () |
| boolean | refreshNeeded () |
Public 属性 | |
| byte[] | data |
| String | etag |
| long | serverDate |
| long | ttl |
| long | softTtl |
| Map< String, String > | responseHeaders = Collections.emptyMap() |
Data and metadata for an entry returned by the cache.
|
inline |
True if the entry is expired.
|
inline |
True if a refresh is needed from the original data source.
| byte [] com.ab.network.toolbox.Cache.Entry.data |
The data returned from cache.
| String com.ab.network.toolbox.Cache.Entry.etag |
ETag for cache coherency.
| Map<String, String> com.ab.network.toolbox.Cache.Entry.responseHeaders = Collections.emptyMap() |
Immutable response headers as received from server; must be non-null.
| long com.ab.network.toolbox.Cache.Entry.serverDate |
Date of this response as reported by the server.
| long com.ab.network.toolbox.Cache.Entry.softTtl |
Soft TTL for this record.
| long com.ab.network.toolbox.Cache.Entry.ttl |
TTL for this record.
1.8.8