|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IdempotentRepository<E>
Access to a repository of Message IDs to implement the Idempotent Consumer pattern.
The add and contains methods is operating according to theSet contract.
| Method Summary | |
|---|---|
boolean |
add(E key)
Adds the key to the repository. |
boolean |
contains(E key)
Returns true if this repository contains the specified element. |
| Method Detail |
|---|
boolean add(E key)
key - the key of the message for duplicate test
boolean contains(E key)
key - the key of the message
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||