public class EvictionAttributesData
extends java.lang.Object
Region
.Constructor and Description |
---|
EvictionAttributesData(java.lang.String algorithm,
java.lang.Integer maximum,
java.lang.String action)
This constructor is to be used by internal JMX framework only.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAction()
Returns the action that will be taken on entries that are evicted.
|
java.lang.String |
getAlgorithm()
Returns the algorithm (policy) used to determine which entries will be
evicted.
|
java.lang.Integer |
getMaximum()
The unit of this value is determined by the definition of the
EvictionAlgorithm set by one of the creation
methods e.g. |
java.lang.String |
toString()
String representation of EvictionAttributesData
|
@ConstructorProperties(value={"algorithm","maximum","action"}) public EvictionAttributesData(java.lang.String algorithm, java.lang.Integer maximum, java.lang.String action)
public java.lang.String getAlgorithm()
public java.lang.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 java.lang.String getAction()
public java.lang.String toString()
toString
in class java.lang.Object