Package org.apache.rampart
Class AbstractUniqueMessageAttributeCache
java.lang.Object
org.apache.rampart.AbstractUniqueMessageAttributeCache
- All Implemented Interfaces:
UniqueMessageAttributeCache
- Direct Known Subclasses:
NonceCache
public abstract class AbstractUniqueMessageAttributeCache
extends Object
implements UniqueMessageAttributeCache
An abstract class which implements UniqueMessageAttributeCache interface.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.AbstractUniqueMessageAttributeCache(int maxTime) Constructor with maximum life time as a parameter. -
Method Summary
Modifier and TypeMethodDescriptionintGets the maximum life time of a message id.voidsetMaximumLifeTimeOfAnAttribute(int maxTime) Sets the maximum life time of a message id.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.rampart.UniqueMessageAttributeCache
addToCache, clearCache, valueExistsInCache
-
Constructor Details
-
AbstractUniqueMessageAttributeCache
public AbstractUniqueMessageAttributeCache()Default constructor. -
AbstractUniqueMessageAttributeCache
public AbstractUniqueMessageAttributeCache(int maxTime) Constructor with maximum life time as a parameter.- Parameters:
maxTime- Maximum life time in seconds.
-
-
Method Details
-
setMaximumLifeTimeOfAnAttribute
public void setMaximumLifeTimeOfAnAttribute(int maxTime) Sets the maximum life time of a message id.- Specified by:
setMaximumLifeTimeOfAnAttributein interfaceUniqueMessageAttributeCache- Parameters:
maxTime- Maximum life time in seconds.
-
getMaximumLifeTimeOfAnAttribute
public int getMaximumLifeTimeOfAnAttribute()Gets the maximum life time of a message id.- Specified by:
getMaximumLifeTimeOfAnAttributein interfaceUniqueMessageAttributeCache- Returns:
- Gets message id life time in seconds.
-