
public class OClusterPositionMapBucket extends ODurablePage
| Modifier and Type | Class and Description |
|---|---|
static class |
OClusterPositionMapBucket.PositionEntry |
| Modifier and Type | Field and Description |
|---|---|
static byte |
ALLOCATED |
static int |
ENTRY_SIZE |
static byte |
FILLED |
static int |
MAX_ENTRIES |
static byte |
NOT_EXISTENT |
static byte |
REMOVED |
changes, CRC32_OFFSET, MAGIC_NUMBER_OFFSET, MAX_PAGE_SIZE_BYTES, NEXT_FREE_POSITION, WAL_POSITION_OFFSET, WAL_SEGMENT_OFFSET| Constructor and Description |
|---|
OClusterPositionMapBucket(OCacheEntry cacheEntry,
OWALChanges changes) |
| Modifier and Type | Method and Description |
|---|---|
int |
add(long pageIndex,
int recordPosition) |
int |
allocate() |
boolean |
exists(int index) |
void |
fillWithDeletedEntries() |
OClusterPositionMapBucket.PositionEntry |
get(int index) |
int |
getSize() |
byte |
getStatus(int index) |
boolean |
isFull() |
OClusterPositionMapBucket.PositionEntry |
remove(int index) |
void |
resurrect(int index) |
void |
set(int index,
OClusterPositionMapBucket.PositionEntry entry) |
deserializeFromDirectMemory, getBinaryValue, getByteValue, getChanges, getIntValue, getLogSequenceNumber, getLogSequenceNumberFromPage, getLongValue, getLsn, getObjectSizeInDirectMemory, getPageData, moveData, restoreChanges, setBinaryValue, setByteValue, setIntValue, setLongValue, setLsn, toStringpublic static final byte NOT_EXISTENT
public static final byte REMOVED
public static final byte FILLED
public static final byte ALLOCATED
public static final int ENTRY_SIZE
public static final int MAX_ENTRIES
public OClusterPositionMapBucket(OCacheEntry cacheEntry, OWALChanges changes)
public void fillWithDeletedEntries()
throws IOException
IOExceptionpublic int add(long pageIndex,
int recordPosition)
throws IOException
IOExceptionpublic int allocate()
throws IOException
IOExceptionpublic OClusterPositionMapBucket.PositionEntry get(int index)
public void set(int index,
OClusterPositionMapBucket.PositionEntry entry)
throws IOException
IOExceptionpublic void resurrect(int index)
throws IOException
IOExceptionpublic boolean isFull()
public int getSize()
public OClusterPositionMapBucket.PositionEntry remove(int index)
public boolean exists(int index)
public byte getStatus(int index)
Copyright © 2009–2025 OrientDB. All rights reserved.