Class OPaginatedCluster
java.lang.Object
com.orientechnologies.common.concur.resource.OSharedResourceAbstract
com.orientechnologies.orient.core.storage.impl.local.paginated.base.ODurableComponent
com.orientechnologies.orient.core.storage.cluster.OPaginatedCluster
- All Implemented Interfaces:
OCluster
- Direct Known Subclasses:
OPaginatedClusterV0,OPaginatedClusterV1,OPaginatedClusterV2
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface com.orientechnologies.orient.core.storage.OCluster
OCluster.ATTRIBUTES -
Field Summary
FieldsFields inherited from class com.orientechnologies.orient.core.storage.impl.local.paginated.base.ODurableComponent
atomicOperationsManager, readCache, storage, writeCacheFields inherited from class com.orientechnologies.common.concur.resource.OSharedResourceAbstract
lock -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedOPaginatedCluster(OAbstractPaginatedStorage storage, String name, String extension, String lockName) -
Method Summary
Modifier and TypeMethodDescriptionabstract longstatic intabstract OPaginatedCluster.RECORD_STATUSgetRecordStatus(long clusterPosition) abstract OPaginatedClusterDebugreadDebug(long clusterPosition) voidreplaceClusterMapFile(File file) voidreplaceFile(File file) Methods inherited from class com.orientechnologies.orient.core.storage.impl.local.paginated.base.ODurableComponent
addFile, addPage, calculateInsideComponentOperation, deleteFile, executeInsideComponentOperation, getExtension, getFilledUpTo, getFullName, getLockName, getName, isFileExists, loadOrAddPageForWrite, loadPageForRead, loadPageForWrite, openFile, releasePageFromRead, releasePageFromWrite, setName, truncateFile, tryExecuteInsideComponentOperationMethods inherited from class com.orientechnologies.common.concur.resource.OSharedResourceAbstract
acquireExclusiveLock, acquireSharedLock, releaseExclusiveLock, releaseSharedLockMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.orientechnologies.orient.core.storage.OCluster
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
-
Field Details
-
DEF_EXTENSION
- See Also:
-
-
Constructor Details
-
OPaginatedCluster
protected OPaginatedCluster(OAbstractPaginatedStorage storage, String name, String extension, String lockName)
-
-
Method Details
-
getLatestBinaryVersion
public static int getLatestBinaryVersion() -
replaceFile
-
replaceClusterMapFile
-
getRecordStatus
public abstract OPaginatedCluster.RECORD_STATUS getRecordStatus(long clusterPosition) throws IOException - Throws:
IOException
-
readDebug
- Throws:
IOException
-
generateClusterConfig
-
getFileId
public abstract long getFileId()
-