
public final class FreeSpaceMap extends ODurableComponent
| Modifier and Type | Field and Description |
|---|---|
static String |
DEF_EXTENSION |
atomicOperationsManager, readCache, storage, writeCache| Constructor and Description |
|---|
FreeSpaceMap(OAbstractPaginatedStorage storage,
String name,
String extension,
String lockName) |
| Modifier and Type | Method and Description |
|---|---|
void |
create(OAtomicOperation atomicOperation) |
void |
delete(OAtomicOperation atomicOperation) |
boolean |
exists(OAtomicOperation atomicOperation) |
int |
findFreePage(int requiredSize) |
void |
open(OAtomicOperation atomicOperation) |
void |
updatePageFreeSpace(OAtomicOperation atomicOperation,
int pageIndex,
int freeSpace) |
addFile, addPage, calculateInsideComponentOperation, deleteFile, executeInsideComponentOperation, getExtension, getFilledUpTo, getFullName, getLockName, getName, isFileExists, loadPageForRead, loadPageForRead, loadPageForWrite, openFile, releasePageFromRead, releasePageFromWrite, setName, truncateFileacquireExclusiveLock, acquireSharedLock, addUser, assertExclusiveLockHold, assertSharedLockHold, getUsers, isConcurrent, releaseExclusiveLock, releaseSharedLock, removeUser, tryAcquireExclusiveLock, tryAcquireSharedLockpublic static final String DEF_EXTENSION
public FreeSpaceMap(OAbstractPaginatedStorage storage, String name, String extension, String lockName)
public boolean exists(OAtomicOperation atomicOperation)
public void create(OAtomicOperation atomicOperation) throws IOException
IOExceptionpublic void open(OAtomicOperation atomicOperation) throws IOException
IOExceptionpublic int findFreePage(int requiredSize)
throws IOException
IOExceptionpublic void updatePageFreeSpace(OAtomicOperation atomicOperation, int pageIndex, int freeSpace) throws IOException
IOExceptionpublic void delete(OAtomicOperation atomicOperation) throws IOException
IOExceptionCopyright © 2009–2025 OrientDB. All rights reserved.