public class L1Configuration extends Object implements Matchable<L1Configuration>
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) |
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() |
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 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()
Copyright © 2018 JBoss, a division of Red Hat. All rights reserved.