|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.directory.server.core.api.partition.AbstractPartition
org.apache.directory.server.core.partition.impl.btree.AbstractBTreePartition<Long>
org.apache.directory.server.core.partition.impl.avl.AvlPartition
public class AvlPartition
An XDBM Partition backed by in memory AVL Trees.
| Field Summary |
|---|
| Fields inherited from class org.apache.directory.server.core.partition.impl.btree.AbstractBTreePartition |
|---|
ALIASED_OBJECT_NAME_AT, aliasIdx, cacheSize, DEFAULT_CACHE_SIZE, ENTRY_CSN_AT, ENTRY_UUID_AT, entryCsnIdx, entryUuidIdx, isSyncOnWrite, master, OBJECT_CLASS_AT, objectClassIdx, oneAliasIdx, oneLevelIdx, optimizer, optimizerEnabled, partitionPath, presenceIdx, rdnIdx, searchEngine, subAliasIdx, subLevelIdx, systemIndices, userIndices |
| Fields inherited from class org.apache.directory.server.core.api.partition.AbstractPartition |
|---|
id, initialized, schemaManager, suffixDn |
| Fields inherited from interface org.apache.directory.server.xdbm.Store |
|---|
SYS_INDEX_OID_ARRAY, SYS_INDEX_OIDS |
| Constructor Summary | |
|---|---|
AvlPartition(org.apache.directory.shared.ldap.model.schema.SchemaManager schemaManager)
Creates a store based on AVL Trees. |
|
| Method Summary | |
|---|---|
protected Index<?,org.apache.directory.shared.ldap.model.entry.Entry,Long> |
convertAndInit(Index<?,org.apache.directory.shared.ldap.model.entry.Entry,Long> index)
Convert and initialize an index for a specific store implementation. |
protected void |
doInit()
|
int |
getCacheSize()
Always returns 0 (zero), cause this is a in-memory store |
Long |
getDefaultId()
Gets the default ID. |
URI |
getPartitionPath()
Gets the path in which this Partition stores data. |
Long |
getRootId()
Gets the root ID of this store implementation. |
boolean |
isSyncOnWrite()
always returns false, cause this is a in-memory store |
void |
sync()
|
| Methods inherited from class org.apache.directory.server.core.partition.impl.btree.AbstractBTreePartition |
|---|
add, addAliasIndices, addIndex, addIndexedAttributes, buildEntryDn, count, delete, delete, doDestroy, dropAliasIndices, dropAliasIndices, dropMovedAliasIndices, dumpIndex, getAliasIndex, getChildCount, getEntryCsnIndex, getEntryDn, getEntryId, getEntryUuidIndex, getIndex, getIndexedAttributes, getObjectClassIndex, getOneAliasIndex, getOneLevelIndex, getParentId, getPresenceIndex, getRdnIndex, getSearchEngine, getSubAliasIndex, getSubLevelIndex, getSuffixId, getSystemIndex, getSystemIndices, getUserIndex, getUserIndices, hasEntry, hasIndexOn, hasSystemIndexOn, hasUserIndexOn, isOptimizerEnabled, list, list, lookup, lookup, modify, modify, move, move, moveAndRename, moveAndRename, rename, rename, search, setCacheSize, setIndexedAttributes, setOptimizerEnabled, setPartitionPath, setSyncOnWrite, setupSystemIndices, setupUserIndices, toString, unbind |
| Methods inherited from class org.apache.directory.server.core.api.partition.AbstractPartition |
|---|
checkInitialized, destroy, getId, getSchemaManager, getSuffixDn, initialize, isInitialized, setId, setSchemaManager, setSuffixDn |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AvlPartition(org.apache.directory.shared.ldap.model.schema.SchemaManager schemaManager)
| Method Detail |
|---|
protected void doInit()
throws Exception
doInit in class AbstractBTreePartition<Long>Exceptionpublic Long getDefaultId()
getDefaultId in interface Store<org.apache.directory.shared.ldap.model.entry.Entry,Long>getDefaultId in class AbstractBTreePartition<Long>public Long getRootId()
getRootId in interface Store<org.apache.directory.shared.ldap.model.entry.Entry,Long>getRootId in class AbstractBTreePartition<Long>
public void sync()
throws Exception
Exceptionpublic boolean isSyncOnWrite()
isSyncOnWrite in interface Store<org.apache.directory.shared.ldap.model.entry.Entry,Long>isSyncOnWrite in class AbstractBTreePartition<Long>true if we write to disk for every modificationpublic int getCacheSize()
getCacheSize in interface Store<org.apache.directory.shared.ldap.model.entry.Entry,Long>getCacheSize in class AbstractBTreePartition<Long>
protected Index<?,org.apache.directory.shared.ldap.model.entry.Entry,Long> convertAndInit(Index<?,org.apache.directory.shared.ldap.model.entry.Entry,Long> index)
throws Exception
AbstractBTreePartition
convertAndInit in class AbstractBTreePartition<Long>index - the index
Exceptionpublic URI getPartitionPath()
getPartitionPath in interface Store<org.apache.directory.shared.ldap.model.entry.Entry,Long>getPartitionPath in class AbstractBTreePartition<Long>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||