org.apache.jackrabbit.mk.model
Interface ChildNodeEntries

All Superinterfaces:
CacheObject, Cloneable
All Known Implementing Classes:
ChildNodeEntriesHTree, ChildNodeEntriesMap, ChildNodeEntriesTree, ChildNodeEntriesTree.Bucket

public interface ChildNodeEntries
extends Cloneable, CacheObject


Field Summary
static int CAPACITY_THRESHOLD
           
 
Method Summary
 ChildNodeEntry add(ChildNodeEntry entry)
           
 Object clone()
           
 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)
           
 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()
           
 ChildNodeEntry remove(String name)
           
 ChildNodeEntry rename(String oldName, String newName)
           
 void serialize(Binding binding)
           
 
Methods inherited from interface org.apache.jackrabbit.mk.store.CacheObject
getMemory
 

Field Detail

CAPACITY_THRESHOLD

static final int CAPACITY_THRESHOLD
See Also:
Constant Field Values
Method Detail

clone

Object clone()

inlined

boolean inlined()

getCount

int getCount()

get

ChildNodeEntry get(String name)

getNames

Iterator<String> getNames(int offset,
                          int count)

getEntries

Iterator<ChildNodeEntry> getEntries(int offset,
                                    int count)

add

ChildNodeEntry add(ChildNodeEntry entry)

remove

ChildNodeEntry remove(String name)

rename

ChildNodeEntry rename(String oldName,
                      String newName)

getAdded

Iterator<ChildNodeEntry> getAdded(ChildNodeEntries other)
Returns those entries that exist in other but not in this.

Parameters:
other -

getRemoved

Iterator<ChildNodeEntry> getRemoved(ChildNodeEntries other)
Returns those entries that exist in this but not in other.

Parameters:
other -

getModified

Iterator<ChildNodeEntry> getModified(ChildNodeEntries other)
Returns this instance's entries that have namesakes in other but with different ids.

Parameters:
other -

serialize

void serialize(Binding binding)
               throws Exception
Throws:
Exception


Copyright © 2012-2014 The Apache Software Foundation. All Rights Reserved.