public class ExpirationConfiguration extends Object
Modifier and Type | Field and Description |
---|---|
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) |
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.
|
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 long lifespan()
public long maxIdle()
public boolean reaperEnabled()
public long wakeUpInterval()
public AttributeSet attributes()
Copyright © 2018 JBoss, a division of Red Hat. All rights reserved.