public interface CacheElement
Provides interface to cached elements Abstraction around atual cache implementation
Modifier and Type | Field and Description |
---|---|
static int |
ActionAdded |
static int |
ActionChanged |
static int |
ActionEvicted |
static int |
ActionExpired |
static int |
ActionRemoved |
Modifier and Type | Method and Description |
---|---|
Object |
getContent() |
Object |
getKey() |
int |
getTimeToIdleSeconds() |
int |
getTimeToLiveSeconds() |
boolean |
isEternal() |
void |
setEternal(boolean eternal) |
void |
setTimeToIdleSeconds(int timeToIdle) |
void |
setTimeToLiveSeconds(int timeToLive) |
static final int ActionAdded
static final int ActionChanged
static final int ActionRemoved
static final int ActionEvicted
static final int ActionExpired
int getTimeToIdleSeconds()
int getTimeToLiveSeconds()
void setTimeToLiveSeconds(int timeToLive)
void setTimeToIdleSeconds(int timeToIdle)
Object getContent()
Object getKey()
boolean isEternal()
void setEternal(boolean eternal)
Copyright © 1999–2016 The Apache Software Foundation. All rights reserved.