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.
|
Modifier and Type | Method and Description |
---|---|
long |
allocatePage(int cacheId,
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
long allocatePage(int cacheId, int partId, byte flags) throws IgniteCheckedException
partId
- Partition ID.IgniteCheckedException
boolean freePage(int cacheId, long pageId) throws IgniteCheckedException
cacheId
- Cache ID.pageId
- Page ID.IgniteCheckedException
Follow @ApacheIgnite
Ignite Fabric : ver. 2.0.0 Release Date : April 30 2017