org.apache.directory.server.core.partition.avl
Class AvlMasterTable<E>
java.lang.Object
org.apache.directory.server.core.partition.avl.AvlTable<java.lang.Long,E>
org.apache.directory.server.core.partition.avl.AvlMasterTable<E>
- All Implemented Interfaces:
- MasterTable<E>, Table<java.lang.Long,E>
public class AvlMasterTable<E>
- extends AvlTable<java.lang.Long,E>
- implements MasterTable<E>
TODO Make it so the master table does not extend table interface - not needed
with this single use of delete so we should just use containment.
- Version:
- $Rev$, $Date$
- Author:
- Apache Directory Project
|
Constructor Summary |
AvlMasterTable(java.lang.String name,
java.util.Comparator<java.lang.Long> keyComparator,
java.util.Comparator<E> valComparator,
boolean dupsEnabled)
|
| Methods inherited from class org.apache.directory.server.core.partition.avl.AvlTable |
close, count, count, cursor, cursor, get, getKeyComparator, getName, getValueComparator, greaterThanCount, has, has, hasGreaterOrEqual, hasGreaterOrEqual, hasLessOrEqual, hasLessOrEqual, isCountExact, isDupsEnabled, lessThanCount, put, remove, remove, valueCursor |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.directory.server.xdbm.MasterTable |
get, put |
| Methods inherited from interface org.apache.directory.server.xdbm.Table |
close, count, count, cursor, cursor, getKeyComparator, getName, getValueComparator, greaterThanCount, has, has, hasGreaterOrEqual, hasGreaterOrEqual, hasLessOrEqual, hasLessOrEqual, isCountExact, isDupsEnabled, lessThanCount, remove, remove, valueCursor |
AvlMasterTable
public AvlMasterTable(java.lang.String name,
java.util.Comparator<java.lang.Long> keyComparator,
java.util.Comparator<E> valComparator,
boolean dupsEnabled)
delete
public void delete(java.lang.Long id)
throws java.lang.Exception
- Specified by:
delete in interface MasterTable<E>
- Throws:
java.lang.Exception
getCurrentId
public java.lang.Long getCurrentId()
throws java.lang.Exception
- Specified by:
getCurrentId in interface MasterTable<E>
- Throws:
java.lang.Exception
getNextId
public java.lang.Long getNextId()
throws java.lang.Exception
- Specified by:
getNextId in interface MasterTable<E>
- Throws:
java.lang.Exception
getProperty
public java.lang.String getProperty(java.lang.String property)
throws java.lang.Exception
- Specified by:
getProperty in interface MasterTable<E>
- Throws:
java.lang.Exception
setProperty
public void setProperty(java.lang.String property,
java.lang.String value)
throws java.lang.Exception
- Specified by:
setProperty in interface MasterTable<E>
- Throws:
java.lang.Exception
Copyright © 2003-2010 The Apache Software Foundation. All Rights Reserved.