public class CacheItem extends Object
| Modifier and Type | Field and Description |
|---|---|
byte[] |
data |
String |
etag |
int |
expireTime |
String |
mimeType |
| Constructor and Description |
|---|
CacheItem(int expireTime,
String mimeType,
byte[] data,
String etag) |
| Modifier and Type | Method and Description |
|---|---|
static CacheItem |
deserialize(ByteBuffer data) |
ByteBuffer |
serialize() |
public int expireTime
public String mimeType
public byte[] data
public String etag
public ByteBuffer serialize()
public static CacheItem deserialize(ByteBuffer data)