Package org.objectweb.joram.mom.util
Interface MessageIdList
-
- All Known Implementing Classes:
MessageIdListImpl
public interface MessageIdList
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidadd(int index, String msgId, boolean persistent)Adds a message identifier at the psecified index and indicates whether the identifier should be persistently added or not.voidadd(String msgId, boolean persistent)Adds a message identifier and indicates whether the identifier should be persistently added or not.voidclear()booleancontains(String msgId)voiddelete()Deletes the list from the persistent storage.Stringget(int index)booleanisEmpty()Iterator<String>iterator()Stringremove(int index)voidremove(String msgId)voidsave()Saves the list in the persistent storage.intsize()String[]toArray(String[] array)
-
-
-
Method Detail
-
size
int size()
-
contains
boolean contains(String msgId)
-
add
void add(String msgId, boolean persistent)
Adds a message identifier and indicates whether the identifier should be persistently added or not.- Parameters:
msgId- the added message identifierpersistent- indicates whether the identifier should be persistently added or not
-
isEmpty
boolean isEmpty()
-
remove
String remove(int index)
-
get
String get(int index)
-
remove
void remove(String msgId)
-
add
void add(int index, String msgId, boolean persistent)Adds a message identifier at the psecified index and indicates whether the identifier should be persistently added or not.- Parameters:
index- the index of the added message identifiermsgId- the added message identifierpersistent- indicates whether the identifier should be persistently added or not
-
clear
void clear()
-
delete
void delete()
Deletes the list from the persistent storage.
-
-