public interface UniqueMessageAttributeCache
Modifier and Type | Method and Description |
---|---|
void |
addToCache(String id,
String userName)
Add value to a cache.
|
void |
clearCache()
Clears all recorded nonce values/sequence numbers.
|
int |
getMaximumLifeTimeOfAnAttribute()
Gets the maximum life time of a message id.
|
void |
setMaximumLifeTimeOfAnAttribute(int maxTime)
Sets the maximum life time of a message id.
|
boolean |
valueExistsInCache(String id,
String userName)
Checks whether value already exists in the cache for a given user name.
|
void setMaximumLifeTimeOfAnAttribute(int maxTime)
maxTime
- Maximum life time in seconds.int getMaximumLifeTimeOfAnAttribute()
void addToCache(String id, String userName)
id
- - Nonce value or sequence number.userName
- - User name parameter value of the UserNameToken.boolean valueExistsInCache(String id, String userName)
id
- - Nonce or sequence id value of the newly received message.userName
- - User name parameter value of the UserName token.void clearCache()
Copyright © Apache Software Foundation. All Rights Reserved.