public interface PageIdAllocator
| Modifier and Type | Field and Description |
|---|---|
static byte |
FLAG_AUX
Flag for an internal structure page.
|
static byte |
FLAG_DATA
Flag for a Data page.
|
static byte |
FLAG_IDX
Flag for an index page.
|
static int |
INDEX_PARTITION
Special partition reserved for index space.
|
static int |
MAX_PARTITION_ID
Max partition ID that can be used by affinity.
|
static long |
META_PAGE_ID
Cache group meta page id.
|
| Modifier and Type | Method and Description |
|---|---|
long |
allocatePage(int grpId,
int partId,
byte flags)
Allocates a page from the space for the given partition ID and the given flags.
|
boolean |
freePage(int grpId,
long pageId)
The given page is free now.
|
static final byte FLAG_DATA
static final byte FLAG_IDX
static final byte FLAG_AUX
static final int MAX_PARTITION_ID
static final int INDEX_PARTITION
static final long META_PAGE_ID
long allocatePage(int grpId,
int partId,
byte flags)
throws IgniteCheckedException
grpId - Cache Group ID.partId - Partition ID.IgniteCheckedExceptionboolean freePage(int grpId,
long pageId)
grpId - Cache Group ID.pageId - Page ID.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.15.0 Release Date : April 25 2023