protected class KMemoryDataCache.CachedData
extends java.lang.Object
| Constructor and Description |
|---|
CachedData(byte[] data,
long expiration)
Construct CachedData instance with the specified parameters
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isExpired()
Checks if this cached data has expired
|
public CachedData(byte[] data,
long expiration)
data - the byte array containing the dataexpiration - the expiration date of the data in the cacheCacheConstants