@Deprecated public class IgniteCacheSnapshotManager<T extends SnapshotOperation> extends GridCacheSharedManagerAdapter implements IgniteChangeGlobalStateSupport
Modifier and Type | Field and Description |
---|---|
static String |
SNAPSHOT_RESTORE_STARTED_LOCK_FILENAME
Deprecated.
Snapshot started lock filename.
|
static String |
TEMP_FILES_COMPLETENESS_MARKER
Deprecated.
Temp files completeness marker.
|
cctx, diagnosticLog, log
Constructor and Description |
---|
IgniteCacheSnapshotManager()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
afterCheckpointPageWritten()
Deprecated.
|
void |
beforeCheckpointPageWritten()
Deprecated.
|
void |
beforePageWrite(FullPageId fullId)
Deprecated.
|
boolean |
needTxReadLogging()
Deprecated.
|
void |
onActivate(GridKernalContext kctx)
Deprecated.
Called when cluster performing activation.
|
void |
onCacheGroupStop(CacheGroupContext gctx,
boolean destroy)
Deprecated.
|
void |
onCacheStop(GridCacheContext<?,?> cctx,
boolean destroy)
Deprecated.
|
void |
onChangeTrackerPage(Long page,
FullPageId fullId,
PageMemory pageMem)
Deprecated.
|
void |
onDeActivate(GridKernalContext kctx)
Deprecated.
Called when cluster performing deactivation.
|
IgniteFuture<?> |
onMarkCheckPointBegin(T snapshotOperation,
PartitionAllocationMap map)
Deprecated.
|
boolean |
partitionsAreFrozen(CacheGroupContext grp)
Deprecated.
|
boolean |
snapshotOperationInProgress()
Deprecated.
|
@Nullable IgniteInternalFuture |
startLocalSnapshotOperation(UUID initiatorNodeId,
T snapshotOperation,
AffinityTopologyVersion topVer)
Deprecated.
|
@Nullable IgniteInternalFuture |
tryStartLocalSnapshotOperation(@Nullable DiscoveryEvent discoveryEvt,
AffinityTopologyVersion topVer)
Deprecated.
Try to start local snapshot operation if it's required by discovery event.
|
context, isStopping, kernalStartInfo, kernalStopInfo, log, onDisconnected, onKernalStart, onKernalStart0, onKernalStop, onKernalStop0, onReconnected, printMemoryStats, start, start0, startInfo, stop, stop0, stopInfo, toString
public static final String SNAPSHOT_RESTORE_STARTED_LOCK_FILENAME
public static final String TEMP_FILES_COMPLETENESS_MARKER
@Nullable public @Nullable IgniteInternalFuture tryStartLocalSnapshotOperation(@Nullable @Nullable DiscoveryEvent discoveryEvt, AffinityTopologyVersion topVer) throws IgniteCheckedException
discoveryEvt
- Discovery event.topVer
- topology version on the moment when this method was calledIgniteCheckedException
- if failed@Nullable public @Nullable IgniteInternalFuture startLocalSnapshotOperation(UUID initiatorNodeId, T snapshotOperation, AffinityTopologyVersion topVer) throws IgniteCheckedException
initiatorNodeId
- Initiator node id.snapshotOperation
- Snapshot operation.IgniteCheckedException
public IgniteFuture<?> onMarkCheckPointBegin(T snapshotOperation, PartitionAllocationMap map) throws IgniteCheckedException
snapshotOperation
- current snapshot operation.map
- (cacheId, partId) -> (lastAllocatedIndex, count)true
if next operation must be snapshot, false
if checkpoint must be executed.IgniteCheckedException
public boolean partitionsAreFrozen(CacheGroupContext grp)
public boolean snapshotOperationInProgress()
public void beforeCheckpointPageWritten()
public void afterCheckpointPageWritten()
public void beforePageWrite(FullPageId fullId)
fullId
- Full id.public void onCacheStop(GridCacheContext<?,?> cctx, boolean destroy)
cctx
- Cctx.destroy
- Destroy flag.public void onCacheGroupStop(CacheGroupContext gctx, boolean destroy)
gctx
- Cctx.destroy
- Destroy flag.public void onChangeTrackerPage(Long page, FullPageId fullId, PageMemory pageMem) throws IgniteCheckedException
IgniteCheckedException
public void onActivate(GridKernalContext kctx) throws IgniteCheckedException
onActivate
in interface IgniteChangeGlobalStateSupport
kctx
- Kernal context.IgniteCheckedException
- If failed.public void onDeActivate(GridKernalContext kctx)
onDeActivate
in interface IgniteChangeGlobalStateSupport
kctx
- Kernal context.public boolean needTxReadLogging()
True
if TX READ records must be logged in WAL.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.10.0 Release Date : March 10 2021