public abstract class OPaginatedCluster extends ODurableComponent implements OCluster
Modifier and Type | Class and Description |
---|---|
static class |
OPaginatedCluster.RECORD_STATUS |
OCluster.ATTRIBUTES
Modifier and Type | Field and Description |
---|---|
static String |
DEF_EXTENSION |
atomicOperationsManager, readCache, storage, writeCache
Modifier | Constructor and Description |
---|---|
protected |
OPaginatedCluster(OAbstractPaginatedStorage storage,
String name,
String extension,
String lockName) |
Modifier and Type | Method and Description |
---|---|
abstract OStoragePaginatedClusterConfiguration |
generateClusterConfig() |
abstract long |
getFileId() |
static int |
getLatestBinaryVersion() |
abstract OPaginatedCluster.RECORD_STATUS |
getRecordStatus(long clusterPosition) |
abstract OPaginatedClusterDebug |
readDebug(long clusterPosition) |
void |
replaceClusterMapFile(File file) |
void |
replaceFile(File file) |
addFile, addPage, calculateInsideComponentOperation, deleteFile, executeInsideComponentOperation, getExtension, getFilledUpTo, getFullName, getLockName, getName, isFileExists, loadPageForRead, loadPageForRead, loadPageForWrite, openFile, releasePageFromRead, releasePageFromWrite, setName, truncateFile, tryExecuteInsideComponentOperation
acquireExclusiveLock, acquireSharedLock, addUser, assertExclusiveLockHold, assertSharedLockHold, getUsers, isConcurrent, releaseExclusiveLock, releaseSharedLock, removeUser, tryAcquireExclusiveLock, tryAcquireSharedLock
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
acquireAtomicExclusiveLock, allocatePosition, ceilingPositions, close, close, compression, configure, configure, create, createRecord, delete, deleteRecord, encryption, exists, floorPositions, getBinaryVersion, getEntries, getFileName, getFirstPosition, getId, getLastPosition, getName, getNextPosition, getPhysicalPosition, getRecordConflictStrategy, getRecordsSize, getTombstonesCount, higherPositions, isDeleted, isSystemCluster, lowerPositions, nextPage, open, readRecord, readRecordIfVersionIsNotLatest, setClusterName, setEncryption, setRecordConflictStrategy, synch, updateRecord
public static final String DEF_EXTENSION
protected OPaginatedCluster(OAbstractPaginatedStorage storage, String name, String extension, String lockName)
public static int getLatestBinaryVersion()
public void replaceFile(File file)
public void replaceClusterMapFile(File file)
public abstract OPaginatedCluster.RECORD_STATUS getRecordStatus(long clusterPosition) throws IOException
IOException
public abstract OPaginatedClusterDebug readDebug(long clusterPosition) throws IOException
IOException
public abstract OStoragePaginatedClusterConfiguration generateClusterConfig()
public abstract long getFileId()
Copyright © 2009–2020 OrientDB. All rights reserved.