|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.cache.config.ConfigurationComponent
org.jboss.cache.eviction.EvictionPolicyConfigBase
org.jboss.cache.eviction.ElementSizeConfiguration
ElementSizeAlgorithmConfig
@Deprecated public class ElementSizeConfiguration
Configuration for ElementSizePolicy.
Requires a positive "maxElementsPerNode" value otherwise a ConfigurationException is thrown.100 10000
| Field Summary |
|---|
| Fields inherited from class org.jboss.cache.config.ConfigurationComponent |
|---|
log |
| Constructor Summary | |
|---|---|
ElementSizeConfiguration()
Deprecated. |
|
| Method Summary | |
|---|---|
ElementSizeConfiguration |
clone()
Deprecated. |
boolean |
equals(Object obj)
Deprecated. |
int |
getMaxElementsPerNode()
Deprecated. |
int |
hashCode()
Deprecated. |
EvictionAlgorithmConfig |
modernizeConfig()
Deprecated. |
void |
reset()
Deprecated. Resets the values to their defaults. |
protected void |
setEvictionPolicyClassName()
Deprecated. This method should be overridden by subclass implementers to set the default policy class name for the subclass. |
void |
setMaxElementsPerNode(int maxElementsPerNode)
Deprecated. |
String |
toString()
Deprecated. |
void |
validate()
Deprecated. Requires a positive maxElementsPerNode value or ConfigurationException is thrown. |
| Methods inherited from class org.jboss.cache.eviction.EvictionPolicyConfigBase |
|---|
getEvictionPolicyClass, getMaxNodes, getMinTimeToLiveSeconds, setEvictionPolicyClass, setMaxNodes, setMinTimeToLiveSeconds |
| Methods inherited from class org.jboss.cache.config.ConfigurationComponent |
|---|
addChildConfig, addChildConfigs, passCacheToChildConfig, removeChildConfig, removeChildConfigs, replaceChildConfig, replaceChildConfigs, setCache, testImmutability |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ElementSizeConfiguration()
| Method Detail |
|---|
protected void setEvictionPolicyClassName()
EvictionPolicyConfigBasepolicy class name for the subclass.
This will be called when the implementation is constructed, but is also
called in EvictionPolicyConfigBase.reset().
setEvictionPolicyClassName in class EvictionPolicyConfigBasepublic EvictionAlgorithmConfig modernizeConfig()
modernizeConfig in interface ModernizableConfigpublic int getMaxElementsPerNode()
public void setMaxElementsPerNode(int maxElementsPerNode)
public void validate()
throws ConfigurationException
validate in interface EvictionPolicyConfigvalidate in class EvictionPolicyConfigBaseConfigurationException - if any values for the configuration
properties are invalidpublic String toString()
toString in class Objectpublic boolean equals(Object obj)
equals in class EvictionPolicyConfigBasepublic int hashCode()
hashCode in class EvictionPolicyConfigBasepublic void reset()
EvictionPolicyConfig
reset in interface EvictionPolicyConfigreset in class EvictionPolicyConfigBase
public ElementSizeConfiguration clone()
throws CloneNotSupportedException
clone in interface CloneableConfigurationComponentclone in class ConfigurationComponentCloneNotSupportedException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||