public class L1Configuration extends java.lang.Object implements Matchable<L1Configuration>, ConfigurationInfo
| Modifier and Type | Field and Description |
|---|---|
static AttributeDefinition<java.lang.Long> |
CLEANUP_TASK_FREQUENCY |
static AttributeDefinition<java.lang.Boolean> |
ENABLED |
static AttributeDefinition<java.lang.Integer> |
INVALIDATION_THRESHOLD |
static AttributeDefinition<java.lang.Long> |
LIFESPAN |
| Modifier and Type | Method and Description |
|---|---|
AttributeSet |
attributes() |
long |
cleanupTaskFrequency()
Determines how often a cleanup thread runs to clean up an internal log of requestors for a specific key
|
boolean |
enabled() |
boolean |
equals(java.lang.Object obj) |
ElementDefinition |
getElementDefinition() |
int |
hashCode() |
int |
invalidationThreshold()
Determines whether a multicast or a web of unicasts are used when performing L1 invalidations.
|
long |
lifespan()
Maximum lifespan of an entry placed in the L1 cache.
|
java.lang.String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitsubElementspublic static final AttributeDefinition<java.lang.Boolean> ENABLED
public static final AttributeDefinition<java.lang.Integer> INVALIDATION_THRESHOLD
public static final AttributeDefinition<java.lang.Long> LIFESPAN
public static final AttributeDefinition<java.lang.Long> CLEANUP_TASK_FREQUENCY
public boolean enabled()
public ElementDefinition getElementDefinition()
getElementDefinition in interface BaseConfigurationInfoElementDefinition of the configuration.public int invalidationThreshold()
Determines whether a multicast or a web of unicasts are used when performing L1 invalidations.
By default multicast will be used.
If the threshold is set to -1, then unicasts will always be used. If the threshold is set to 0, then multicast will be always be used.
public long cleanupTaskFrequency()
public long lifespan()
public AttributeSet attributes()
attributes in interface BaseConfigurationInfoAttributeSet declared by the configuration.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.Object