
public class OClusterPositionMap extends ODurableComponent
| Modifier and Type | Field and Description |
|---|---|
static String |
DEF_EXTENSION |
atomicOperationsManager, extension, performanceStatisticManager, readCache, storage, writeCache| Constructor and Description |
|---|
OClusterPositionMap(OAbstractPaginatedStorage storage,
String name,
String lockName) |
| Modifier and Type | Method and Description |
|---|---|
long |
add(long pageIndex,
int recordPosition) |
long |
allocate() |
long[] |
ceilingPositions(long clusterPosition) |
void |
close(boolean flush) |
void |
create() |
void |
delete() |
long[] |
floorPositions(long clusterPosition) |
void |
flush() |
OClusterPositionMapBucket.PositionEntry |
get(long clusterPosition,
int pageCount) |
long |
getFileId() |
long |
getFirstPosition() |
long |
getLastPosition() |
long |
getNextPosition()
Returns the next position available.
|
byte |
getStatus(long clusterPosition) |
long[] |
higherPositions(long clusterPosition) |
long[] |
lowerPositions(long clusterPosition) |
void |
open() |
OClusterPositionMapBucket.PositionEntry |
remove(long clusterPosition) |
void |
rename(String newName) |
void |
replaceFileId(long newFileId) |
void |
resurrect(long clusterPosition) |
void |
truncate() |
void |
update(long clusterPosition,
OClusterPositionMapBucket.PositionEntry entry) |
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 String DEF_EXTENSION
public OClusterPositionMap(OAbstractPaginatedStorage storage, String name, String lockName)
public void open()
throws IOException
IOExceptionpublic void create()
throws IOException
IOExceptionpublic void flush()
throws IOException
IOExceptionpublic void close(boolean flush)
throws IOException
IOExceptionpublic void truncate()
throws IOException
IOExceptionpublic void delete()
throws IOException
IOExceptionpublic void rename(String newName) throws IOException
IOExceptionpublic long add(long pageIndex,
int recordPosition)
throws IOException
IOExceptionpublic long allocate()
throws IOException
IOExceptionpublic void update(long clusterPosition,
OClusterPositionMapBucket.PositionEntry entry)
throws IOException
IOExceptionpublic void resurrect(long clusterPosition)
throws IOException
IOExceptionpublic OClusterPositionMapBucket.PositionEntry get(long clusterPosition, int pageCount) throws IOException
IOExceptionpublic OClusterPositionMapBucket.PositionEntry remove(long clusterPosition) throws IOException
IOExceptionpublic long[] higherPositions(long clusterPosition)
throws IOException
IOExceptionpublic long[] ceilingPositions(long clusterPosition)
throws IOException
IOExceptionpublic long[] lowerPositions(long clusterPosition)
throws IOException
IOExceptionpublic long[] floorPositions(long clusterPosition)
throws IOException
IOExceptionpublic long getFirstPosition()
throws IOException
IOExceptionpublic byte getStatus(long clusterPosition)
throws IOException
IOExceptionpublic long getLastPosition()
throws IOException
IOExceptionpublic long getNextPosition()
throws IOException
IOExceptionpublic long getFileId()
public void replaceFileId(long newFileId)
Copyright © 2009–2025 OrientDB. All rights reserved.