public interface PageIdAllocator
| Modifier and Type | Field and Description |
|---|---|
static byte |
FLAG_DATA |
static byte |
FLAG_IDX |
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 int |
METASTORE_PARTITION
Special partition reserved for metastore space.
|
static int |
OLD_METASTORE_PARTITION
Old special partition reserved for metastore space.
|
| 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 cacheId,
long pageId)
The given page is free now.
|
static final byte FLAG_DATA
static final byte FLAG_IDX
static final int MAX_PARTITION_ID
static final int INDEX_PARTITION
static final int OLD_METASTORE_PARTITION
static final int METASTORE_PARTITION
long allocatePage(int grpId,
int partId,
byte flags)
throws IgniteCheckedException
grpId - Cache Group ID.partId - Partition ID.IgniteCheckedExceptionboolean freePage(int cacheId,
long pageId)
throws IgniteCheckedException
cacheId - Cache Group ID.pageId - Page ID.IgniteCheckedException
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.8.1 Release Date : May 21 2020