Constructor and Description |
---|
EvictionAttributesData(String algorithm,
Integer maximum,
String action)
This constructor is to be used by internal JMX framework only.
|
Modifier and Type | Method and Description |
---|---|
String |
getAction()
Returns the action that will be taken on entries that are evicted.
|
String |
getAlgorithm()
Returns the algorithm (policy) used to determine which entries will be evicted.
|
Integer |
getMaximum()
The unit of this value is determined by the definition of the
EvictionAlgorithm set by
one of the creation methods e.g. |
String |
toString()
String representation of EvictionAttributesData
|
@ConstructorProperties(value={"algorithm","maximum","action"}) public EvictionAttributesData(String algorithm, Integer maximum, String action)
algorithm
- the algorithm (policy) used to determine which entries will be evictedmaximum
- maximum value used by the EvictionAlgorithm
which determines when the
EvictionAction
is performedaction
- the action that will be taken on entries that are evictedpublic String getAlgorithm()
public Integer getMaximum()
EvictionAlgorithm
set by
one of the creation methods e.g. EvictionAttributes.createLRUEntryAttributes()
For algorithm LRU HEAP null will be returnedEvictionAlgorithm
which determines when the
EvictionAction
is performed.public String getAction()