| Constructor and Description |
|---|
EvictionAttributesData(String algorithm,
Integer maximum,
String action) |
| 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() |
@ConstructorProperties(value={"algorithm","maximum","action"}) public EvictionAttributesData(String algorithm, Integer maximum, String action)
public 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()
Copyright © 1997-2017 Pivotal Software, Inc. All rights reserved.