Home » activemq-parent-5.3.1-source-release » org.apache » activemq » kaha » impl » index » tree » [javadoc | source]
org.apache.activemq.kaha.impl.index.tree
public class: TreeIndex [javadoc | source]
java.lang.Object
   org.apache.activemq.kaha.impl.index.tree.TreeIndex

All Implemented Interfaces:
    Index

BTree implementation
Constructor:
 public TreeIndex(File directory,
    String name,
    IndexManager indexManager) throws IOException 
    Constructor
    Parameters:
    directory -
    name -
    indexManager -
    Throws:
    IOException -
Method from org.apache.activemq.kaha.impl.index.tree.TreeIndex Summary:
clear,   containsKey,   createPage,   createRoot,   delete,   get,   getFullPage,   getKeySize,   getPage,   getPageCacheSize,   getPageSize,   getRoot,   getSize,   isEnablePageCaching,   isTransient,   load,   lookupPage,   openIndexFile,   releasePage,   remove,   setEnablePageCaching,   setKeyMarshaller,   setKeySize,   setPageCacheSize,   setPageSize,   store,   unload,   writeFullPage,   writePage
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.activemq.kaha.impl.index.tree.TreeIndex Detail:
 public  void clear() throws IOException 
 public boolean containsKey(Object key) throws IOException 
 TreePage createPage(long parentId) throws IOException 
 TreePage createRoot() throws IOException 
 public  void delete() throws IOException 
 public StoreEntry get(Object key) throws IOException 
 TreePage getFullPage(long id) throws IOException 
 public int getKeySize() 
 TreePage getPage(long id) throws IOException 
 public int getPageCacheSize() 
 public int getPageSize() 
 TreePage getRoot() 
 public int getSize() 
 public boolean isEnablePageCaching() 
 public boolean isTransient() 
 public  void load() 
 TreePage lookupPage(long pageId) throws IOException 
 protected  void openIndexFile() throws IOException 
  void releasePage(TreePage page) throws IOException 
 public StoreEntry remove(Object key) throws IOException 
 public  void setEnablePageCaching(boolean enablePageCaching) 
 public  void setKeyMarshaller(Marshaller marshaller) 
    Set the marshaller for key objects
 public  void setKeySize(int keySize) 
 public  void setPageCacheSize(int pageCacheSize) 
 public  void setPageSize(int pageSize) 
 public  void store(Object key,
    StoreEntry value) throws IOException 
 public  void unload() throws IOException 
  void writeFullPage(TreePage page) throws IOException 
  void writePage(TreePage page) throws IOException