public abstract class AbstractUniqueMessageAttributeCache extends Object implements UniqueMessageAttributeCache
Constructor and Description |
---|
AbstractUniqueMessageAttributeCache()
Default constructor.
|
AbstractUniqueMessageAttributeCache(int maxTime)
Constructor with maximum life time as a parameter.
|
Modifier and Type | Method and Description |
---|---|
int |
getMaximumLifeTimeOfAnAttribute()
Gets the maximum life time of a message id.
|
void |
setMaximumLifeTimeOfAnAttribute(int maxTime)
Sets the maximum life time of a message id.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addToCache, clearCache, valueExistsInCache
public AbstractUniqueMessageAttributeCache()
public AbstractUniqueMessageAttributeCache(int maxTime)
maxTime
- Maximum life time in seconds.public void setMaximumLifeTimeOfAnAttribute(int maxTime)
setMaximumLifeTimeOfAnAttribute
in interface UniqueMessageAttributeCache
maxTime
- Maximum life time in seconds.public int getMaximumLifeTimeOfAnAttribute()
getMaximumLifeTimeOfAnAttribute
in interface UniqueMessageAttributeCache
Copyright © Apache Software Foundation. All Rights Reserved.