public class L1Configuration extends Object
Modifier and Type | Method and Description |
---|---|
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 o) |
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 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()
Copyright © 2015 JBoss, a division of Red Hat. All rights reserved.