VMware GemFire Java API Reference
Package org.apache.geode.management
Class EvictionAttributesData
- java.lang.Object
-
- org.apache.geode.management.EvictionAttributesData
-
public class EvictionAttributesData extends java.lang.ObjectComposite data type used to distribute the eviction attributes for aRegion.- Since:
- GemFire 7.0
-
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetAction()Returns the action that will be taken on entries that are evicted.java.lang.StringgetAlgorithm()Returns the algorithm (policy) used to determine which entries will be evicted.java.lang.IntegergetMaximum()The unit of this value is determined by the definition of theEvictionAlgorithmset by one of the creation methods e.g.java.lang.StringtoString()String representation of EvictionAttributesData
-
-
-
Constructor Detail
-
EvictionAttributesData
@ConstructorProperties({"algorithm","maximum","action"}) public EvictionAttributesData(java.lang.String algorithm, java.lang.Integer maximum, java.lang.String action)This constructor is to be used by internal JMX framework only. User should not try to create an instance of this class.- Parameters:
algorithm- the algorithm (policy) used to determine which entries will be evictedmaximum- maximum value used by theEvictionAlgorithmwhich determines when theEvictionActionis performedaction- the action that will be taken on entries that are evicted
-
-
Method Detail
-
getAlgorithm
public java.lang.String getAlgorithm()
Returns the algorithm (policy) used to determine which entries will be evicted.- Returns:
- the algorithm (policy) used to determine which entries will be evicted
-
getMaximum
public java.lang.Integer getMaximum()
The unit of this value is determined by the definition of theEvictionAlgorithmset by one of the creation methods e.g.EvictionAttributes.createLRUEntryAttributes()For algorithm LRU HEAP null will be returned- Returns:
- maximum value used by the
EvictionAlgorithmwhich determines when theEvictionActionis performed.
-
getAction
public java.lang.String getAction()
Returns the action that will be taken on entries that are evicted.- Returns:
- the action that will be taken on entries that are evicted
-
toString
public java.lang.String toString()
String representation of EvictionAttributesData- Overrides:
toStringin classjava.lang.Object
-
-