@Deprecated public class LFUConfiguration extends EvictionPolicyConfigBase implements ModernizableConfig
LFUPolicy
.
If configured via XML, expects the following:
10 20
log
Constructor and Description |
---|
LFUConfiguration()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
LFUConfiguration |
clone()
Deprecated.
|
boolean |
equals(Object obj)
Deprecated.
|
int |
getMinNodes()
Deprecated.
|
int |
hashCode()
Deprecated.
|
EvictionAlgorithmConfig |
modernizeConfig()
Deprecated.
|
protected void |
setEvictionPolicyClassName()
Deprecated.
This method should be overridden by subclass implementers to set the default
policy class name for the subclass. |
void |
setMinNodes(int minNodes)
Deprecated.
|
String |
toString()
Deprecated.
|
getEvictionPolicyClass, getMaxNodes, getMinTimeToLiveSeconds, reset, setEvictionPolicyClass, setMaxNodes, setMinTimeToLiveSeconds, validate
addChildConfig, addChildConfigs, passCacheToChildConfig, removeChildConfig, removeChildConfigs, replaceChildConfig, replaceChildConfigs, setCache, testImmutability
protected void setEvictionPolicyClassName()
EvictionPolicyConfigBase
policy class name
for the subclass.
This will be called when the implementation is constructed, but is also
called in EvictionPolicyConfigBase.reset()
.setEvictionPolicyClassName
in class EvictionPolicyConfigBase
public int getMinNodes()
public void setMinNodes(int minNodes)
public EvictionAlgorithmConfig modernizeConfig()
modernizeConfig
in interface ModernizableConfig
public boolean equals(Object obj)
equals
in class EvictionPolicyConfigBase
public int hashCode()
hashCode
in class EvictionPolicyConfigBase
public LFUConfiguration clone() throws CloneNotSupportedException
clone
in interface CloneableConfigurationComponent
clone
in class ConfigurationComponent
CloneNotSupportedException
Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.