public class MessageIdBuffer
extends java.lang.Object
| Constructor and Description |
|---|
MessageIdBuffer() |
MessageIdBuffer(int size) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
boolean |
contains(URI msgId) |
boolean |
containsOrEnqueue(URI msgId)
Returns true, if buffer contains msg id, else false.
|
public MessageIdBuffer()
public MessageIdBuffer(int size)
size - size of the message buffer to allocatepublic boolean contains(URI msgId)
public boolean containsOrEnqueue(URI msgId)
msgId - the message to check presence of or to enqueuetrue if msg was already present, false if it was just enqueuedpublic void clear()