Class DefaultMessageIdCache
java.lang.Object
org.apache.cxf.ws.addressing.impl.DefaultMessageIdCache
- All Implemented Interfaces:
MessageIdCache
An implementation that uses a simple set to store received message IDs.
Note that this implementation does not make any attempt to flush older
message IDs or to persist the message IDs outside of this instance.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancheckUniquenessAndCacheId(String messageId) CheckmessageIdfor uniqueness against previously encountered values and cache the ID.
-
Constructor Details
-
DefaultMessageIdCache
public DefaultMessageIdCache()
-
-
Method Details
-
checkUniquenessAndCacheId
Description copied from interface:MessageIdCacheCheckmessageIdfor uniqueness against previously encountered values and cache the ID. Note that the retention policy for previously encountered values is implementation specific.- Specified by:
checkUniquenessAndCacheIdin interfaceMessageIdCache- Parameters:
messageId- the message ID to check for uniqueness and cache for future comparison- Returns:
- true if and only if
messageIdis not already in the cache
-
getMessageIdSet
-