Package org.apache.activemq.store
Interface PList
-
- All Known Implementing Classes:
PListImpl
public interface PList- Author:
- Hiram Chirino
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfacePList.PListIterator
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ObjectaddFirst(String id, ByteSequence bs)ObjectaddLast(String id, ByteSequence bs)voiddestroy()StringgetName()booleanisEmpty()PList.PListIteratoriterator()longmessageSize()booleanremove(Object position)longsize()
-
-
-
Method Detail
-
getName
String getName()
-
destroy
void destroy() throws IOException- Throws:
IOException
-
addFirst
Object addFirst(String id, ByteSequence bs) throws IOException
- Throws:
IOException
-
addLast
Object addLast(String id, ByteSequence bs) throws IOException
- Throws:
IOException
-
remove
boolean remove(Object position) throws IOException
- Throws:
IOException
-
isEmpty
boolean isEmpty()
-
iterator
PList.PListIterator iterator() throws IOException
- Throws:
IOException
-
size
long size()
-
messageSize
long messageSize()
-
-