public interface Key
Primary contract for defining the key to an entry in the cache. Generally, the user needs to worry only about key's name and TTL related values. Others may be used internally, unless specified otherwise.
ApplicationCache| Modifier and Type | Field and Description |
|---|---|
static Long |
DEFAULT_CACHE_MAX_SIZE |
static Long |
DEFAULT_CREATION_TIME |
static String |
DEFAULT_KEY_STRING |
static Long |
DEFAULT_TTL |
static TimeUnit |
DEFAULT_TTL_TIMEUNIT |
| Modifier and Type | Method and Description |
|---|---|
Long |
getCreationTime() |
Object |
getKey() |
void |
setCreationTime(Long creationTime) |
void |
setKey(Object identifier) |
static final String DEFAULT_KEY_STRING
static final Long DEFAULT_TTL
static final TimeUnit DEFAULT_TTL_TIMEUNIT
static final Long DEFAULT_CREATION_TIME
static final Long DEFAULT_CACHE_MAX_SIZE
Copyright © 2015. All rights reserved.