|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IdempotentMessageIdStore
IdempotentMessageIdStore
is the main interface used by
IdempotentReceiver
for storing received message IDs.
IdempotentInMemoryMessageIdStore}
Method Summary | |
---|---|
boolean |
containsId(Object id)
Check whether the given ID is already registered with this store. |
boolean |
storeId(Object id)
Store the given ID. |
Method Detail |
---|
boolean containsId(Object id) throws IllegalArgumentException, Exception
id
- the ID to check
true
if the ID is stored or false
if it could
not be found
IllegalArgumentException
- if the given ID is null
Exception
- if any implementation-specific error occured, e.g. when the store
is not availableboolean storeId(Object id) throws IllegalArgumentException, Exception
id
- the ID to store
true
if the ID was stored properly, or false
if it already existed
IllegalArgumentException
- if the given ID cannot be stored or is
null
Exception
- if the store is not available or any other
implementation-specific error occured
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |