| 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.

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

- src/com/ab/network/toolbox/Cache.java