Interface OAtomicOperation
public interface OAtomicOperation
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddDeletedRecordPosition(int clusterId, int pageIndex, int recordPosition) voidaddDeletedRidBag(OBonsaiBucketPointer rootPointer) longvoidaddLockedObject(String lockName) voidaddMetadata(OAtomicOperationMetadata<?> metadata) addPage(long fileId) commitChanges(OWriteAheadLog writeAheadLog) booleancontainsInLockedObjects(String lockName) voidvoiddeleteFile(long fileId) longfileIdByName(String name) fileNameById(long fileId) longfilledUpTo(long fileId) getBookedRecordPositions(int clusterId, int pageIndex) intgetMetadata(String key) longvoidbooleanisFileExists(String fileName) booleanlongloadPageForRead(long fileId, long pageIndex) loadPageForWrite(long fileId, long pageIndex, int pageCount, boolean verifyChecksum) voidreleasePageFromRead(OCacheEntry cacheEntry) voidreleasePageFromWrite(OCacheEntry cacheEntry) voidvoidtruncateFile(long fileId)
-
Method Details
-
getOperationUnitId
long getOperationUnitId() -
loadPageForWrite
OCacheEntry loadPageForWrite(long fileId, long pageIndex, int pageCount, boolean verifyChecksum) throws IOException - Throws:
IOException
-
loadPageForRead
- Throws:
IOException
-
addMetadata
-
getMetadata
-
addDeletedRidBag
-
getDeletedBonsaiPointers
Set<OBonsaiBucketPointer> getDeletedBonsaiPointers() -
addPage
- Throws:
IOException
-
releasePageFromRead
-
releasePageFromWrite
- Throws:
IOException
-
filledUpTo
long filledUpTo(long fileId) -
addFile
- Throws:
IOException
-
loadFile
- Throws:
IOException
-
deleteFile
- Throws:
IOException
-
isFileExists
-
fileNameById
-
fileIdByName
-
truncateFile
- Throws:
IOException
-
containsInLockedObjects
-
addLockedObject
-
rollbackInProgress
void rollbackInProgress() -
isRollbackInProgress
boolean isRollbackInProgress() -
commitChanges
- Throws:
IOException
-
lockedObjects
-
addDeletedRecordPosition
void addDeletedRecordPosition(int clusterId, int pageIndex, int recordPosition) -
getBookedRecordPositions
-
incrementComponentOperations
void incrementComponentOperations() -
decrementComponentOperations
void decrementComponentOperations() -
getComponentOperations
int getComponentOperations()
-