public interface EvictionAlgorithmConfig extends CloneableConfigurationComponent
EvictionPolicyConfig.
In its most basic form, it is implemented by EvictionAlgorithmConfigBase, but
more specific eviction policies may subclass EvictionAlgorithmConfigBase or re-implement
this interface to provide access to more config variables.| Modifier and Type | Method and Description |
|---|---|
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.
|
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 CloneableConfigurationComponentCloneNotSupportedExceptionCopyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.