|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jackrabbit.mk.htree.ChildNodeEntriesHTree
public class ChildNodeEntriesHTree
HTree based implementation to manage child node entries.
| Field Summary |
|---|
| Fields inherited from interface org.apache.jackrabbit.mk.model.ChildNodeEntries |
|---|
CAPACITY_THRESHOLD |
| Constructor Summary | |
|---|---|
ChildNodeEntriesHTree(RevisionProvider provider)
|
|
| Method Summary | |
|---|---|
ChildNodeEntry |
add(ChildNodeEntry entry)
|
Object |
clone()
|
void |
deserialize(Binding binding)
|
ChildNodeEntry |
get(String name)
|
Iterator<ChildNodeEntry> |
getAdded(ChildNodeEntries other)
Returns those entries that exist in other but not in
this. |
int |
getCount()
|
Iterator<ChildNodeEntry> |
getEntries(int offset,
int count)
|
int |
getMemory()
The estimated amount of memory used, in bytes. |
Iterator<ChildNodeEntry> |
getModified(ChildNodeEntries other)
Returns this instance's entries that have namesakes in
other but with different ids. |
Iterator<String> |
getNames(int offset,
int count)
|
Iterator<ChildNodeEntry> |
getRemoved(ChildNodeEntries other)
Returns those entries that exist in this but not in
other. |
boolean |
inlined()
|
void |
postPersist(RevisionStore store,
RevisionStore.PutToken token)
|
void |
prePersist(RevisionStore store,
RevisionStore.PutToken token)
|
ChildNodeEntry |
remove(String name)
|
ChildNodeEntry |
rename(String oldName,
String newName)
|
void |
serialize(Binding binding)
|
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ChildNodeEntriesHTree(RevisionProvider provider)
| Method Detail |
|---|
public Object clone()
clone in interface ChildNodeEntriesclone in class Objectpublic boolean inlined()
inlined in interface ChildNodeEntriespublic int getCount()
getCount in interface ChildNodeEntriespublic ChildNodeEntry get(String name)
get in interface ChildNodeEntries
public Iterator<String> getNames(int offset,
int count)
getNames in interface ChildNodeEntries
public Iterator<ChildNodeEntry> getEntries(int offset,
int count)
getEntries in interface ChildNodeEntriespublic ChildNodeEntry add(ChildNodeEntry entry)
add in interface ChildNodeEntriespublic ChildNodeEntry remove(String name)
remove in interface ChildNodeEntries
public ChildNodeEntry rename(String oldName,
String newName)
rename in interface ChildNodeEntriespublic Iterator<ChildNodeEntry> getAdded(ChildNodeEntries other)
ChildNodeEntriesother but not in
this.
getAdded in interface ChildNodeEntriespublic Iterator<ChildNodeEntry> getRemoved(ChildNodeEntries other)
ChildNodeEntriesthis but not in
other.
getRemoved in interface ChildNodeEntriespublic Iterator<ChildNodeEntry> getModified(ChildNodeEntries other)
ChildNodeEntriesthis instance's entries that have namesakes in
other but with different ids.
getModified in interface ChildNodeEntries
public void serialize(Binding binding)
throws Exception
serialize in interface ChildNodeEntriesException
public void deserialize(Binding binding)
throws Exception
Exception
public void prePersist(RevisionStore store,
RevisionStore.PutToken token)
throws Exception
prePersist in interface PersistHookException
public void postPersist(RevisionStore store,
RevisionStore.PutToken token)
throws Exception
postPersist in interface PersistHookExceptionpublic int getMemory()
CacheObject
getMemory in interface CacheObject
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||