|
||||||||||
| 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.ExpirationConfiguration
ExpirationAlgorithmConfig
@Deprecated public class ExpirationConfiguration
Configuration for indicating the Node key for setting a specific eviction time.
| Field Summary | |
|---|---|
static String |
EXPIRATION_KEY
Deprecated. Default key name for indicating expiration time. |
| Fields inherited from class org.jboss.cache.config.ConfigurationComponent |
|---|
log |
| Constructor Summary | |
|---|---|
ExpirationConfiguration()
Deprecated. |
|
| Method Summary | |
|---|---|
ExpirationConfiguration |
clone()
Deprecated. |
String |
getExpirationKeyName()
Deprecated. Returns the expirationKeyName. |
int |
getTimeToLiveSeconds()
Deprecated. |
boolean |
getWarnNoExpirationKey()
Deprecated. Returns true if the algorithm should warn if a expiration key is missing for a node. |
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 |
setExpirationKeyName(String expirationKeyName)
Deprecated. Sets the expirationKeyName. |
void |
setTimeToLiveSeconds(int timeToLiveSeconds)
Deprecated. |
void |
setWarnNoExpirationKey(boolean warnNoExpirationKey)
Deprecated. Sets if the algorithm should warn if a expiration key is missing for a node. |
| Methods inherited from class org.jboss.cache.eviction.EvictionPolicyConfigBase |
|---|
equals, getEvictionPolicyClass, getMaxNodes, getMinTimeToLiveSeconds, hashCode, reset, setEvictionPolicyClass, setMaxNodes, setMinTimeToLiveSeconds, validate |
| 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, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String EXPIRATION_KEY
| Constructor Detail |
|---|
public ExpirationConfiguration()
| 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 String getExpirationKeyName()
public void setExpirationKeyName(String expirationKeyName)
public boolean getWarnNoExpirationKey()
public void setWarnNoExpirationKey(boolean warnNoExpirationKey)
public int getTimeToLiveSeconds()
public void setTimeToLiveSeconds(int timeToLiveSeconds)
public ExpirationConfiguration 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 | |||||||||