public class ExpirationConfiguration extends java.lang.Object implements Matchable<ExpirationConfiguration>, ConfigurationInfo
| Modifier and Type | Field and Description |
|---|---|
static ElementDefinition |
ELEMENT_DEFINITION |
static AttributeDefinition<java.lang.Long> |
LIFESPAN |
static AttributeDefinition<java.lang.Long> |
MAX_IDLE |
static AttributeDefinition<java.lang.Boolean> |
REAPER_ENABLED |
static AttributeDefinition<java.lang.Long> |
WAKEUP_INTERVAL |
| Modifier and Type | Method and Description |
|---|---|
AttributeSet |
attributes() |
boolean |
equals(java.lang.Object obj) |
ElementDefinition |
getElementDefinition() |
int |
hashCode() |
long |
lifespan()
Maximum lifespan of a cache entry, after which the entry is expired cluster-wide, in
milliseconds.
|
long |
maxIdle()
Maximum idle time a cache entry will be maintained in the cache, in milliseconds.
|
boolean |
reaperEnabled()
Determines whether the background reaper thread is enabled to test entries for expiration.
|
java.lang.String |
toString() |
long |
wakeUpInterval()
Interval (in milliseconds) between subsequent runs to purge expired entries from memory and
any cache stores.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitsubElementspublic static final AttributeDefinition<java.lang.Long> LIFESPAN
public static final AttributeDefinition<java.lang.Long> MAX_IDLE
public static final AttributeDefinition<java.lang.Boolean> REAPER_ENABLED
public static final AttributeDefinition<java.lang.Long> WAKEUP_INTERVAL
public static final ElementDefinition ELEMENT_DEFINITION
public ElementDefinition getElementDefinition()
getElementDefinition in interface BaseConfigurationInfoElementDefinition of the configuration.public long lifespan()
public long maxIdle()
public boolean reaperEnabled()
public long wakeUpInterval()
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic AttributeSet attributes()
attributes in interface BaseConfigurationInfoAttributeSet declared by the configuration.