Modifier and Type | Class and Description |
---|---|
class |
PList.PListIterator |
headPageId, loaded, NOT_SET, pageFile, tailPageId
Modifier and Type | Method and Description |
---|---|
void |
addFirst(String id,
ByteSequence bs) |
void |
addLast(String id,
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) |
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
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, ByteSequence bs) throws IOException
IOException
public void addFirst(String id, 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
IOException
public boolean isEmpty()
public PList.PListIterator iterator() throws IOException
IOException
public void claimFileLocations(Set<Integer> candidates) throws IOException
IOException
Copyright © 2005–2014 The Apache Software Foundation. All rights reserved.