public class CacheKey extends Object implements Key
Implements Key interface to provide key management services mainly the management
framework.
Key,
Serialized FormDEFAULT_CACHE_MAX_SIZE, DEFAULT_CREATION_TIME, DEFAULT_KEY_STRING, DEFAULT_TTL, DEFAULT_TTL_TIMEUNIT| Constructor and Description |
|---|
CacheKey() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Long |
getCreationTime()
Returns the creation time for an entry in the cache.
|
Object |
getKey()
Gets the key descriptor from the cache implementation.
|
int |
hashCode() |
void |
setCreationTime(Long creationTime)
Sets the creation time for an entry in the cache.
|
void |
setKey(Object key)
Sets the key descriptor to the cache implementation.
|
public Object getKey()
KeyGets the key descriptor from the cache implementation.
public void setKey(Object key)
KeySets the key descriptor to the cache implementation.
public Long getCreationTime()
KeyReturns the creation time for an entry in the cache.
getCreationTime in interface Keypublic void setCreationTime(Long creationTime)
KeySets the creation time for an entry in the cache.
setCreationTime in interface KeycreationTime - the creation time to set in millisCopyright © 2016. All rights reserved.