public class SnapshotHandlerContext extends Object
| Constructor and Description |
|---|
SnapshotHandlerContext(SnapshotMetadata metadata,
@Nullable Collection<String> grps,
ClusterNode locNode,
File snpDir,
boolean streamerWrn,
boolean check) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
check() |
@Nullable Collection<String> |
groups() |
ClusterNode |
localNode() |
SnapshotMetadata |
metadata() |
File |
snapshotDirectory() |
boolean |
streamerWarning() |
public SnapshotHandlerContext(SnapshotMetadata metadata, @Nullable @Nullable Collection<String> grps, ClusterNode locNode, File snpDir, boolean streamerWrn, boolean check)
metadata - Snapshot metadata.grps - The names of the cache groups on which the operation is performed.
False otherwise. Always false for snapshot restoration.locNode - Local node.snpDir - The full path to the snapshot files.streamerWrn - True if concurrent streaming updates occurred during snapshot operation.check - If true check snapshot integrity.public SnapshotMetadata metadata()
public File snapshotDirectory()
@Nullable public @Nullable Collection<String> groups()
null if the operation
is performed on all available cache groups.public ClusterNode localNode()
public boolean streamerWarning()
True if concurrent streaming updates occurred during snapshot operation. False otherwise.public boolean check()
true check snapshot integrity.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.15.0 Release Date : April 25 2023