|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.kahadb.index.ListIndex<String,org.apache.kahadb.journal.Location>
org.apache.activemq.store.kahadb.plist.PList
public class PList
| Nested Class Summary | |
|---|---|
class |
PList.PListIterator
|
| Field Summary |
|---|
| Fields inherited from class org.apache.kahadb.index.ListIndex |
|---|
headPageId, loaded, NOT_SET, pageFile, tailPageId |
| Method Summary | |
|---|---|
void |
addFirst(String id,
org.apache.kahadb.util.ByteSequence bs)
|
void |
addLast(String id,
org.apache.kahadb.util.ByteSequence bs)
|
void |
claimFileLocations(Set<Integer> candidates)
|
void |
destroy()
|
PListEntry |
get(long position)
|
PListEntry |
getFirst()
|
PListEntry |
getLast()
|
String |
getName()
|
boolean |
isEmpty()
|
PList.PListIterator |
iterator()
|
boolean |
remove(long position)
|
boolean |
remove(String id)
|
void |
setName(String name)
|
String |
toString()
|
void |
write(DataOutput out)
|
| Methods inherited from class org.apache.kahadb.index.ListIndex |
|---|
add, addFirst, clear, containsKey, createNode, get, getFirst, getHead, getHeadPageId, getKeyMarshaller, getLast, getPageFile, getTail, getTailPageId, getValueMarshaller, isEmpty, isTransient, iterator, iterator, listNodeIterator, load, onRemove, put, remove, setHeadPageId, setKeyMarshaller, setPageFile, setTailPageId, setValueMarshaller, size, storeNode, unload |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public void setName(String name)
public String getName()
public void write(DataOutput out)
throws IOException
IOException
public void destroy()
throws IOException
IOException
public void addLast(String id,
org.apache.kahadb.util.ByteSequence bs)
throws IOException
IOException
public void addFirst(String id,
org.apache.kahadb.util.ByteSequence bs)
throws IOException
IOException
public boolean remove(String id)
throws IOException
IOException
public boolean remove(long position)
throws IOException
IOException
public PListEntry get(long position)
throws IOException
IOException
public PListEntry getFirst()
throws IOException
IOException
public PListEntry getLast()
throws IOException
IOExceptionpublic boolean isEmpty()
public PList.PListIterator iterator()
throws IOException
IOException
public void claimFileLocations(Set<Integer> candidates)
throws IOException
IOExceptionpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||