public class IdleVerifyUtility extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
CLUSTER_NOT_IDLE_MSG
Cluster not idle message.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
checkPartitionsPageCrcSum(FilePageStore pageStore,
CacheGroupContext grpCtx,
int partId,
byte pageType,
AtomicBoolean cpFlag)
Checks CRC sum of pages with
pageType page type stored in partiion with partId id and assosiated
with cache group. |
static void |
checkPartitionsPageCrcSum(@Nullable FilePageStoreManager pageStoreMgr,
CacheGroupContext grpCtx,
int partId,
byte pageType,
AtomicBoolean cpFlag)
|
static boolean |
isCheckpointNow(@Nullable IgniteCacheDatabaseSharedManager db) |
public static final String CLUSTER_NOT_IDLE_MSG
public static void checkPartitionsPageCrcSum(@Nullable
@Nullable FilePageStoreManager pageStoreMgr,
CacheGroupContext grpCtx,
int partId,
byte pageType,
AtomicBoolean cpFlag)
throws IgniteCheckedException,
GridNotIdleException
public static void checkPartitionsPageCrcSum(FilePageStore pageStore, CacheGroupContext grpCtx, int partId, byte pageType, AtomicBoolean cpFlag) throws IgniteCheckedException, GridNotIdleException
pageType page type stored in partiion with partId id and assosiated
with cache group. pageStore - Page store.grpCtx - Passed cache group context.partId - Partition id.pageType - Page type. Possible types PageIdAllocator.FLAG_DATA, PageIdAllocator.FLAG_IDX.cpFlag - Checkpoint flag for detecting start checkpoint with dirty pages.IgniteCheckedException - If reading page failed.GridNotIdleException - If cluster not idle.public static boolean isCheckpointNow(@Nullable
@Nullable IgniteCacheDatabaseSharedManager db)
db - Shared DB manager.True if checkpoint is now, False otherwise.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.8.0 Release Date : February 27 2020