public interface PageIdAllocator
Modifier and Type | Field and Description |
---|---|
static byte |
FLAG_AUX
Flag for internal structure page.
|
static byte |
FLAG_DATA
Flag for Data page.
|
static byte |
FLAG_IDX
Flag for 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.
|
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 byte FLAG_AUX
static final int MAX_PARTITION_ID
static final int INDEX_PARTITION
static final int OLD_METASTORE_PARTITION
static final int METASTORE_PARTITION
static final long META_PAGE_ID
long allocatePage(int grpId, int partId, byte flags) throws IgniteCheckedException
grpId
- Cache Group ID.partId
- Partition ID.IgniteCheckedException
boolean freePage(int cacheId, long pageId) throws IgniteCheckedException
cacheId
- Cache Group ID.pageId
- Page ID.IgniteCheckedException
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.10.0 Release Date : March 10 2021