public class ExpirationConfiguration extends Object implements Matchable<ExpirationConfiguration>, ConfigurationInfo
Modifier and Type | Field and Description |
---|---|
static ElementDefinition |
ELEMENT_DEFINITION |
static AttributeDefinition<Long> |
LIFESPAN |
static AttributeDefinition<Long> |
MAX_IDLE |
static AttributeDefinition<Boolean> |
REAPER_ENABLED |
static AttributeDefinition<Long> |
WAKEUP_INTERVAL |
Modifier and Type | Method and Description |
---|---|
AttributeSet |
attributes() |
boolean |
equals(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.
|
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, wait
subElements
public static final AttributeDefinition<Long> LIFESPAN
public static final AttributeDefinition<Long> MAX_IDLE
public static final AttributeDefinition<Boolean> REAPER_ENABLED
public static final AttributeDefinition<Long> WAKEUP_INTERVAL
public static final ElementDefinition ELEMENT_DEFINITION
public ElementDefinition getElementDefinition()
getElementDefinition
in interface BaseConfigurationInfo
ElementDefinition
of the configuration.public long lifespan()
public long maxIdle()
public boolean reaperEnabled()
public long wakeUpInterval()
public AttributeSet attributes()
attributes
in interface BaseConfigurationInfo
AttributeSet
declared by the configuration.Copyright © 2021 JBoss by Red Hat. All rights reserved.