public class L1Configuration extends Object implements Matchable<L1Configuration>, ConfigurationInfo
Modifier and Type | Field and Description |
---|---|
static AttributeDefinition<Long> |
CLEANUP_TASK_FREQUENCY |
static AttributeDefinition<Boolean> |
ENABLED |
static AttributeDefinition<Integer> |
INVALIDATION_THRESHOLD |
static AttributeDefinition<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(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.
|
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
subElements
public static final AttributeDefinition<Boolean> ENABLED
public static final AttributeDefinition<Integer> INVALIDATION_THRESHOLD
public static final AttributeDefinition<Long> LIFESPAN
public static final AttributeDefinition<Long> CLEANUP_TASK_FREQUENCY
public boolean enabled()
public ElementDefinition getElementDefinition()
getElementDefinition
in interface BaseConfigurationInfo
ElementDefinition
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 BaseConfigurationInfo
AttributeSet
declared by the configuration.Copyright © 2021 JBoss by Red Hat. All rights reserved.