|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EvictionAlgorithmConfig
An interface used to configure an eviction algorithm. Replaces the deprecated EvictionPolicyConfig
.
EvictionAlgorithmConfigBase
, but
more specific eviction policies may subclass EvictionAlgorithmConfigBase
or re-implement
this interface to provide access to more config variables.
Method Summary | |
---|---|
EvictionAlgorithmConfig |
clone()
|
String |
getEvictionAlgorithmClassName()
Gets the class name of the EvictionAlgorithm implementation
this object will configure. |
void |
reset()
Resets the values to their defaults. |
void |
validate()
Validate the configuration. |
Method Detail |
---|
String getEvictionAlgorithmClassName()
EvictionAlgorithm
implementation
this object will configure.
void validate() throws ConfigurationException
ConfigurationException
- if any values for the configuration
properties are invalidvoid reset()
EvictionAlgorithmConfig clone() throws CloneNotSupportedException
clone
in interface CloneableConfigurationComponent
CloneNotSupportedException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |