
public class OHashTableDirectory extends ODurableComponent
| Modifier and Type | Field and Description |
|---|---|
static int |
BINARY_LEVEL_SIZE |
static int |
ITEM_SIZE |
static int |
LEVEL_SIZE |
atomicOperationsManager, extension, performanceStatisticManager, readCache, storage, writeCache| Constructor and Description |
|---|
OHashTableDirectory(String defaultExtension,
String name,
String lockName,
boolean durableInNonTxMode,
OAbstractPaginatedStorage storage) |
| Modifier and Type | Method and Description |
|---|---|
int |
addNewNode(byte maxLeftChildDepth,
byte maxRightChildDepth,
byte nodeLocalDepth,
long[] newNode) |
void |
clear() |
void |
close() |
void |
create() |
void |
delete() |
void |
deleteNode(int nodeIndex) |
void |
deleteWithoutOpen() |
void |
flush() |
byte |
getMaxLeftChildDepth(int nodeIndex) |
byte |
getMaxRightChildDepth(int nodeIndex) |
long[] |
getNode(int nodeIndex) |
byte |
getNodeLocalDepth(int nodeIndex) |
long |
getNodePointer(int nodeIndex,
int index) |
void |
open() |
void |
setMaxLeftChildDepth(int nodeIndex,
byte maxLeftChildDepth) |
void |
setMaxRightChildDepth(int nodeIndex,
byte maxRightChildDepth) |
void |
setNode(int nodeIndex,
long[] node) |
void |
setNodeLocalDepth(int nodeIndex,
byte localNodeDepth) |
void |
setNodePointer(int nodeIndex,
int index,
long pointer) |
acquireExclusiveLock, addFile, addPage, completeOperation, deleteFile, endAtomicOperation, getChanges, getExtension, getFilledUpTo, getFullName, getLockName, getName, isFileExists, isFileExists, loadPage, loadPage, openFile, pinPage, releasePage, setName, startAtomicOperation, startOperation, truncateFileacquireSharedLock, addUser, assertExclusiveLockHold, assertSharedLockHold, getUsers, isConcurrent, releaseExclusiveLock, releaseSharedLock, removeUser, tryAcquireExclusiveLock, tryAcquireSharedLockpublic static final int ITEM_SIZE
public static final int LEVEL_SIZE
public static final int BINARY_LEVEL_SIZE
public OHashTableDirectory(String defaultExtension, String name, String lockName, boolean durableInNonTxMode, OAbstractPaginatedStorage storage)
public void create()
throws IOException
IOExceptionpublic void open()
throws IOException
IOExceptionpublic void close()
throws IOException
IOExceptionpublic void delete()
throws IOException
IOExceptionpublic void deleteWithoutOpen()
throws IOException
IOExceptionpublic int addNewNode(byte maxLeftChildDepth,
byte maxRightChildDepth,
byte nodeLocalDepth,
long[] newNode)
throws IOException
IOExceptionpublic void deleteNode(int nodeIndex)
throws IOException
IOExceptionpublic byte getMaxLeftChildDepth(int nodeIndex)
throws IOException
IOExceptionpublic void setMaxLeftChildDepth(int nodeIndex,
byte maxLeftChildDepth)
throws IOException
IOExceptionpublic byte getMaxRightChildDepth(int nodeIndex)
throws IOException
IOExceptionpublic void setMaxRightChildDepth(int nodeIndex,
byte maxRightChildDepth)
throws IOException
IOExceptionpublic byte getNodeLocalDepth(int nodeIndex)
throws IOException
IOExceptionpublic void setNodeLocalDepth(int nodeIndex,
byte localNodeDepth)
throws IOException
IOExceptionpublic long[] getNode(int nodeIndex)
throws IOException
IOExceptionpublic void setNode(int nodeIndex,
long[] node)
throws IOException
IOExceptionpublic long getNodePointer(int nodeIndex,
int index)
throws IOException
IOExceptionpublic void setNodePointer(int nodeIndex,
int index,
long pointer)
throws IOException
IOExceptionpublic void clear()
throws IOException
IOExceptionpublic void flush()
throws IOException
IOExceptionCopyright © 2009–2025 OrientDB. All rights reserved.