Class AbstractSnapshotVerificationTask.AbstractSnapshotVerificationJob
- java.lang.Object
-
- org.apache.ignite.compute.ComputeJobAdapter
-
- org.apache.ignite.internal.processors.cache.persistence.snapshot.AbstractSnapshotVerificationTask.AbstractSnapshotVerificationJob
-
- All Implemented Interfaces:
Serializable,Callable<Object>,ComputeJob
- Enclosing class:
- AbstractSnapshotVerificationTask
protected abstract static class AbstractSnapshotVerificationTask.AbstractSnapshotVerificationJob extends ComputeJobAdapter
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected booleancheckIftrue, calculates and compares partition hashes.protected StringconsIdConsistent id of the related node.protected IgniteExigniteIgnite instance.protected IgniteLoggerlogInjected logger.protected @Nullable Collection<String>rqGrpsSet of cache groups to be checked in the snapshot.protected StringsnpNameSnapshot name.protected @Nullable StringsnpPathSnapshot directory path.
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractSnapshotVerificationJob(String snpName, @Nullable String snpPath, String consId, @Nullable Collection<String> rqGrps, boolean check)
-
Method Summary
-
Methods inherited from class org.apache.ignite.compute.ComputeJobAdapter
argument, arguments, call, cancel, isCancelled, setArguments
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.ignite.compute.ComputeJob
execute
-
-
-
-
Field Detail
-
ignite
@IgniteInstanceResource protected IgniteEx ignite
Ignite instance.
-
log
@LoggerResource protected IgniteLogger log
Injected logger.
-
snpName
protected final String snpName
Snapshot name.
-
snpPath
@Nullable protected final @Nullable String snpPath
Snapshot directory path.
-
consId
protected final String consId
Consistent id of the related node.
-
rqGrps
@Nullable protected final @Nullable Collection<String> rqGrps
Set of cache groups to be checked in the snapshot.Nullor empty to check everything.
-
check
protected final boolean check
Iftrue, calculates and compares partition hashes. Otherwise, only basic snapshot validation is launched.
-
-
Constructor Detail
-
AbstractSnapshotVerificationJob
protected AbstractSnapshotVerificationJob(String snpName, @Nullable @Nullable String snpPath, String consId, @Nullable @Nullable Collection<String> rqGrps, boolean check)
- Parameters:
snpName- Snapshot name.snpPath- Snapshot directory path.consId- Consistent id of the related node.rqGrps- Set of cache groups to be checked in the snapshot.Nullor empty to check everything.check- Iftrue, calculates and compares partition hashes. Otherwise, only basic snapshot validation is launched.
-
-