org.apache.ignite

## Interface IgniteSnapshot

-     public interface IgniteSnapshot

  This interface provides functionality for creating cluster-wide cache data snapshots.

  Current limitations:

  - Snapshot will trigger PME (partition map exchange) to run itself.
  - Snapshot will be taken from all registered persistence caches to grantee data consistency between them.
  - Snapshot must be resorted manually on the switched off cluster by copying data to the working directory on each cluster node.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `IgniteFuture<Void>` | `cancelSnapshot(String name)` Cancel running snapshot operation.
    `IgniteFuture<Void>` | `createSnapshot(String name)` Create a consistent copy of all persistence cache groups from the whole cluster.

- - ### Method Detail

    - #### createSnapshot

          IgniteFuture<Void> createSnapshot(String name)

      Create a consistent copy of all persistence cache groups from the whole cluster.
      Parameters:
        `name` - Snapshot unique name which satisfies the following name pattern [a-zA-Z0-9_].
      Returns:
        Future which will be completed when a process ends.

    - #### cancelSnapshot

          IgniteFuture<Void> cancelSnapshot(String name)

      Cancel running snapshot operation. All intermediate results of cancelled snapshot operation will be deleted. If snapshot already created this command will have no effect.
      Parameters:
        `name` - Snapshot name to cancel.
      Returns:
        Future which will be completed when cancel operation finished.

2020 Copyright © Apache Software Foundation
| Follow @ApacheIgnite
Ignite Database and Caching Platform | : ver. 2.9.1
Release Date | : December 9 2020