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 interface
PList.PListIterator
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Object
addFirst(String id, ByteSequence bs)
Object
addLast(String id, ByteSequence bs)
void
destroy()
String
getName()
boolean
isEmpty()
PList.PListIterator
iterator()
long
messageSize()
boolean
remove(Object position)
long
size()
-
-
-
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()
-
-