AndBase开发框架  1.6
 全部  命名空间 文件 函数 变量 枚举值 
Public 成员函数 | Public 属性 | 所有成员列表
com.ab.network.toolbox.Cache.Entry类 参考

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.

成员函数说明

boolean com.ab.network.toolbox.Cache.Entry.isExpired ( )
inline

True if the entry is expired.

boolean com.ab.network.toolbox.Cache.Entry.refreshNeeded ( )
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.


该类的文档由以下文件生成: