public interface IgniteSnapshot
Current limitations:
| Modifier and Type | Method and Description |
|---|---|
IgniteFuture<Void> |
cancelSnapshot(String name)
Cancel running snapshot operation.
|
IgniteFuture<Boolean> |
cancelSnapshotRestore(String name)
Cancel snapshot restore operation.
|
IgniteFuture<Void> |
createSnapshot(String name)
Create a consistent copy of all persistence cache groups from the whole cluster.
|
IgniteFuture<Void> |
restoreSnapshot(String name,
@Nullable Collection<String> cacheGroupNames)
Restore cache group(s) from the snapshot.
|
IgniteFuture<Void> createSnapshot(String name)
name - Snapshot unique name which satisfies the following name pattern [a-zA-Z0-9_].IgniteFuture<Void> cancelSnapshot(String name)
name - Snapshot name to cancel.IgniteFuture<Void> restoreSnapshot(String name, @Nullable @Nullable Collection<String> cacheGroupNames)
NOTE: Cache groups to be restored from the snapshot must not present in the cluster, if they present,
they must be destroyed by the user (eg with IgniteCache.destroy()) before starting this operation.
name - Snapshot name.cacheGroupNames - Cache groups to be restored or null to restore all cache groups from the snapshot.IgniteFuture<Boolean> cancelSnapshotRestore(String name)
name - Snapshot name.false if the restore process with the specified snapshot name is not running at all.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.14.0 Release Date : September 29 2022