public interface GridSnapshot
Modifier and Type | Method and Description |
---|---|
IgniteFuture<Boolean> |
cancelSnapshotOperation(IgniteUuid operationId,
String msg)
Tries to gracefully cancel an ongoing snapshot operation.
|
SnapshotFuture<List<SnapshotIssue>> |
check(CheckSnapshotParams params)
Verifies snapshot integrity.
|
SnapshotFuture<List<SnapshotIssue>> |
checkSnapshot(long snapshotId,
Collection<File> optSearchPaths,
boolean skipCrc,
String msg)
Deprecated.
|
SnapshotFuture<List<SnapshotIssue>> |
checkSnapshot(long snapshotId,
Collection<File> optSearchPaths,
Set<String> cacheNames,
boolean forceRestore,
boolean skipCrc,
String msg)
Deprecated.
|
SnapshotFuture<List<SnapshotIssue>> |
checkSnapshot(long snapshotId,
SnapshotOperationType type,
Set<String> cacheNames,
boolean forceRestore,
Collection<File> optSearchPaths,
boolean skipCrc,
IgniteBiClosure<String,CacheConfiguration,CacheConfiguration> c,
String msg)
Deprecated.
|
SnapshotFuture<Void> |
copy(CopySnapshotParams params)
Copy a snapshot with the given ID to the given destination folder.
|
SnapshotFuture<Void> |
copySnapshot(long snapshotId,
File destPath,
boolean skipWalMove,
org.gridgain.grid.internal.processors.cache.database.SnapshotUpdateOperationParameters operationParameters,
String msg)
Deprecated.
|
SnapshotFuture<Void> |
copySnapshot(long snapshotId,
File destPath,
boolean skipWalMove,
SnapshotUpdateOperationParams updateOperationParams,
String msg)
Deprecated.
|
SnapshotFuture<Void> |
copySnapshot(long snapshotId,
File destPath,
org.gridgain.grid.internal.processors.cache.database.SnapshotUpdateOperationParameters operationParameters,
String msg)
Deprecated.
|
SnapshotFuture<Void> |
copySnapshot(long snapshotId,
File destPath,
SnapshotUpdateOperationParams operationParams,
String msg)
Deprecated.
|
SnapshotFuture<Void> |
createFullSnapshot(@Nullable Set<String> cacheNames,
@Nullable File storePath,
@Nullable org.gridgain.grid.internal.processors.cache.database.snapshot.SnapshotCommonParameters snapshotCommonParameters,
@Nullable org.gridgain.grid.internal.processors.cache.database.snapshot.SnapshotCreateParameters snapshotCreateParameters,
@Nullable String msg)
|
SnapshotFuture<Void> |
createFullSnapshot(@Nullable Set<String> cacheNames,
@Nullable File storePath,
@Nullable SnapshotCommonParams snapshotCommonParams,
@Nullable SnapshotCreateParams snapshotCreateParams,
@Nullable String msg)
Initiates full snapshot creation.
|
SnapshotFuture<Void> |
createFullSnapshot(@Nullable Set<String> cacheNames,
@Nullable File storePath,
org.gridgain.grid.internal.processors.cache.database.snapshot.SnapshotCreateParameters snapshotCreateParameters,
@Nullable String msg)
Deprecated.
|
SnapshotFuture<Void> |
createFullSnapshot(@Nullable Set<String> cacheNames,
@Nullable File storePath,
SnapshotCreateParams snapshotCreateParams,
@Nullable String msg)
Initiates full snapshot creation.
|
SnapshotFuture<Void> |
createFullSnapshot(@Nullable Set<String> includeCacheOrGroups,
@Nullable Set<String> excludeCacheNames,
@Nullable File storePath,
@Nullable SnapshotCommonParams snapshotCommonParams,
@Nullable SnapshotCreateParams snapshotCreateParams,
@Nullable String msg)
Initiates full snapshot creation.
|
SnapshotFuture<Void> |
createFullSnapshot(@Nullable Set<String> cacheNames,
@Nullable String msg)
Initiates full snapshot creation.
|
SnapshotFuture<Void> |
createSnapshot(@Nullable Set<String> cacheNames,
@Nullable File storePath,
@Nullable org.gridgain.grid.internal.processors.cache.database.snapshot.SnapshotCommonParameters snapshotCommonParameters,
@Nullable org.gridgain.grid.internal.processors.cache.database.snapshot.SnapshotCreateParameters snapshotCreateParameters,
@Nullable String msg)
|
SnapshotFuture<Void> |
createSnapshot(@Nullable Set<String> cacheNames,
@Nullable File storePath,
@Nullable SnapshotCommonParams snapshotCommonParams,
@Nullable SnapshotCreateParams snapshotCreateParams,
@Nullable String msg)
Initiates incremental snapshot creation.
|
SnapshotFuture<Void> |
createSnapshot(@Nullable Set<String> cacheNames,
@Nullable File storePath,
org.gridgain.grid.internal.processors.cache.database.snapshot.SnapshotCreateParameters snapshotCreateParameters,
@Nullable String msg)
Deprecated.
|
SnapshotFuture<Void> |
createSnapshot(@Nullable Set<String> cacheNames,
@Nullable File storePath,
SnapshotCreateParams snapshotCreateParams,
@Nullable String msg)
Initiates incremental snapshot creation.
|
SnapshotFuture<Void> |
createSnapshot(@Nullable Set<String> includeCacheOrGroups,
@Nullable Set<String> excludeCachesOrGroups,
@Nullable File storePath,
@Nullable SnapshotCommonParams snapshotCommonParams,
@Nullable SnapshotCreateParams snapshotCreateParams,
@Nullable String msg)
Initiates incremental snapshot creation.
|
SnapshotFuture<Void> |
createSnapshot(@Nullable Set<String> cacheNames,
@Nullable String msg)
Initiates incremental snapshot creation.
|
SnapshotFuture<Void> |
deleteSnapshot(long snapshotId,
org.gridgain.grid.internal.processors.cache.database.SnapshotUpdateOperationParameters operationParameters,
String msg)
Deprecated.
|
SnapshotFuture<Void> |
deleteSnapshot(long snapshotId,
SnapshotUpdateOperationParams operationParams,
String msg)
Deletes snapshot from the local directory.
|
SnapshotFuture<Void> |
deleteSnapshot(long snapshotId,
String msg)
Deletes snapshot from the local directory.
|
IgniteFuture<Boolean> |
forceCancelSnapshotOperation(IgniteUuid operationId,
String msg)
Tries to cancel an ongoing snapshot operation.
|
SnapshotFuture<Void> |
forceDeleteSnapshot(long snapshotId,
String msg)
Deprecated.
|
SnapshotFuture<Void> |
forceMoveSnapshot(long snapshotId,
File destPath,
String msg)
Deprecated.
|
List<SnapshotInfo> |
list()
Lists all previously created snapshots with basic info.
|
List<SnapshotInfo> |
list(@Nullable ListSnapshotParams params)
Lists all previously created snapshots with basic info.
|
List<SnapshotInfo> |
listSnapshots(Collection<File> optSearchPaths)
Deprecated.
Use
list(ListSnapshotParams) or list() . |
SnapshotFuture<Void> |
move(MoveSnapshotParams params)
Copy a snapshot with the given ID to the given destination folder and delete snapshot locally.
|
SnapshotFuture<Void> |
moveSnapshot(long snapshotId,
File destPath,
boolean skipWalMove,
org.gridgain.grid.internal.processors.cache.database.SnapshotUpdateOperationParameters operationParameters,
String msg)
Deprecated.
|
SnapshotFuture<Void> |
moveSnapshot(long snapshotId,
File destPath,
boolean skipWalMove,
SnapshotUpdateOperationParams operationParams,
String msg)
Deprecated.
|
SnapshotFuture<Void> |
moveSnapshot(long snapshotId,
File destPath,
boolean skipWalMove,
String msg)
Deprecated.
|
SnapshotFuture<Void> |
moveSnapshot(long snapshotId,
File destPath,
String msg)
Deprecated.
|
SnapshotStatus |
ongoingSnapshotOperation()
Gets a status of an ongoing grid snapshot operation.
|
IgniteFuture |
ongoingSnapshotOperationFuture() |
SnapshotFuture<Void> |
restore(RestoreSnapshotParams params)
Restores snapshot identified by the given snapshot info.
|
SnapshotFuture<Void> |
restoreSnapshot(long snapshotId,
Collection<File> optSearchPaths,
Set<String> cacheNames,
boolean forceRestore,
IgniteBiClosure<String,CacheConfiguration,CacheConfiguration> c,
String msg)
Deprecated.
|
SnapshotFuture<Void> |
restoreSnapshot(long snapshotId,
Collection<File> optSearchPaths,
Set<String> cacheNames,
IgniteBiClosure<String,CacheConfiguration,CacheConfiguration> c,
String msg)
Deprecated.
|
SnapshotFuture<Void> |
restoreSnapshot(long snapshotId,
Collection<File> optSearchPaths,
Set<String> cacheNames,
String msg)
Deprecated.
|
SnapshotFuture<Void> |
restoreSnapshot(long snapshotId,
Set<String> cacheNames,
String msg)
Deprecated.
|
SnapshotInfoEx |
snapshot(long snapshotId,
Collection<File> optSearchPaths)
Deprecated.
|
SnapshotInfoEx |
snapshot(SnapshotInfoParams params)
Collects extended snapshot information based on the snapshot ID.
|
SnapshotFuture<Void> createFullSnapshot(@Nullable @Nullable Set<String> cacheNames, @Nullable @Nullable String msg)
SnapshotFuture.initFuture()
completes.
Using compression option from Snapshot confugration.cacheNames
- Cache names to snapshot. null
to create a snapshot for all caches.msg
- Additional optional user message that will be printed out to the log
and will be saved in snapshot catalog.@Deprecated SnapshotFuture<Void> createFullSnapshot(@Nullable @Nullable Set<String> cacheNames, @Nullable @Nullable File storePath, org.gridgain.grid.internal.processors.cache.database.snapshot.SnapshotCreateParameters snapshotCreateParameters, @Nullable @Nullable String msg)
createFullSnapshot(Set, File, SnapshotCreateParams, String)
.SnapshotFuture.initFuture()
completes.cacheNames
- Cache names to snapshot. null
to create a snapshot for all caches.storePath
- Path to directory where snapshot will be stored.snapshotCreateParameters
- Additional parameters for snapshot creation.msg
- Additional optional user message that will be printed out to the log
and will be saved in snapshot catalog.SnapshotFuture<Void> createFullSnapshot(@Nullable @Nullable Set<String> cacheNames, @Nullable @Nullable File storePath, SnapshotCreateParams snapshotCreateParams, @Nullable @Nullable String msg)
SnapshotFuture.initFuture()
completes.cacheNames
- Cache names to snapshot. null
to create a snapshot for all caches.storePath
- Path to directory where snapshot will be stored.snapshotCreateParams
- Additional parameters for snapshot creation.msg
- Additional optional user message that will be printed out to the log
and will be saved in snapshot catalog.@Deprecated SnapshotFuture<Void> createFullSnapshot(@Nullable @Nullable Set<String> cacheNames, @Nullable @Nullable File storePath, @Nullable @Nullable org.gridgain.grid.internal.processors.cache.database.snapshot.SnapshotCommonParameters snapshotCommonParameters, @Nullable @Nullable org.gridgain.grid.internal.processors.cache.database.snapshot.SnapshotCreateParameters snapshotCreateParameters, @Nullable @Nullable String msg)
SnapshotFuture.initFuture()
completes.cacheNames
- Cache names to snapshot. null
to create a snapshot for all caches.storePath
- Path to directory where snapshot will be stored.snapshotCommonParameters
- Additional common parameters for snapshot operation.snapshotCreateParameters
- Additional parameters for snapshot creation.msg
- Additional optional user message that will be printed out to the log
and will be saved in snapshot catalog.SnapshotFuture<Void> createFullSnapshot(@Nullable @Nullable Set<String> cacheNames, @Nullable @Nullable File storePath, @Nullable @Nullable SnapshotCommonParams snapshotCommonParams, @Nullable @Nullable SnapshotCreateParams snapshotCreateParams, @Nullable @Nullable String msg)
SnapshotFuture.initFuture()
completes.cacheNames
- Cache names to snapshot. null
to create a snapshot for all caches.storePath
- Path to directory where snapshot will be stored.snapshotCommonParams
- Additional common parameters for snapshot operation.snapshotCreateParams
- Additional parameters for snapshot creation.msg
- Additional optional user message that will be printed out to the log
and will be saved in snapshot catalog.SnapshotFuture<Void> createFullSnapshot(@Nullable @Nullable Set<String> includeCacheOrGroups, @Nullable @Nullable Set<String> excludeCacheNames, @Nullable @Nullable File storePath, @Nullable @Nullable SnapshotCommonParams snapshotCommonParams, @Nullable @Nullable SnapshotCreateParams snapshotCreateParams, @Nullable @Nullable String msg)
includeCacheOrGroups
- Caches or groups included to snapshot, null
to create a snapshot for all caches.excludeCacheNames
- Cache or groups excluded from snapshot, null
no caches will be excluded.storePath
- Path to directory where snapshot will be stored.snapshotCommonParams
- Additional common parameters for snapshot operation.snapshotCreateParams
- Additional parameters for snapshot creation.msg
- Additional optional user message that will be printed out to the log
and will be saved in snapshot catalog.SnapshotFuture<Void> createSnapshot(@Nullable @Nullable Set<String> cacheNames, @Nullable @Nullable String msg)
SnapshotFuture.initFuture()
completes.
If incremental snapshot creation is not possible (there is no previously created full snapshot available),
the returned future will be completed with a corresponding error.
Using compression option from Snapshot configuration.cacheNames
- Cache names to snapshot. null
to create a snapshot for all caches.msg
- Additional optional user message that will be printed out to the log
and will be saved in snapshot catalog.@Deprecated SnapshotFuture<Void> createSnapshot(@Nullable @Nullable Set<String> cacheNames, @Nullable @Nullable File storePath, org.gridgain.grid.internal.processors.cache.database.snapshot.SnapshotCreateParameters snapshotCreateParameters, @Nullable @Nullable String msg)
createSnapshot(Set, File, SnapshotCreateParams, String)
.SnapshotFuture.initFuture()
completes.
If incremental snapshot creation is not possible (there is no previously created full snapshot available),
the returned future will be completed with a corresponding error.cacheNames
- Cache names to snapshot. null
to create a snapshot for all caches.storePath
- Path to directory where snapshot will be stored.snapshotCreateParameters
- Additional parameters for snapshot creation.msg
- Additional optional user message that will be printed out to the log
and will be saved in snapshot catalog.SnapshotFuture<Void> createSnapshot(@Nullable @Nullable Set<String> cacheNames, @Nullable @Nullable File storePath, SnapshotCreateParams snapshotCreateParams, @Nullable @Nullable String msg)
SnapshotFuture.initFuture()
completes.
If incremental snapshot creation is not possible (there is no previously created full snapshot available),
the returned future will be completed with a corresponding error.cacheNames
- Cache names to snapshot. null
to create a snapshot for all caches.storePath
- Path to directory where snapshot will be stored.snapshotCreateParams
- Additional parameters for snapshot creation.msg
- Additional optional user message that will be printed out to the log
and will be saved in snapshot catalog.@Deprecated SnapshotFuture<Void> createSnapshot(@Nullable @Nullable Set<String> cacheNames, @Nullable @Nullable File storePath, @Nullable @Nullable org.gridgain.grid.internal.processors.cache.database.snapshot.SnapshotCommonParameters snapshotCommonParameters, @Nullable @Nullable org.gridgain.grid.internal.processors.cache.database.snapshot.SnapshotCreateParameters snapshotCreateParameters, @Nullable @Nullable String msg)
SnapshotFuture.initFuture()
completes.
If incremental snapshot creation is not possible (there is no previously created full snapshot available),
the returned future will be completed with a corresponding error.cacheNames
- Cache names to snapshot. null
to create a snapshot for all caches.storePath
- Path to directory where snapshot will be stored.snapshotCommonParameters
- Additional common parameters for snapshot operation.snapshotCreateParameters
- Additional parameters for snapshot creation.msg
- Additional optional user message that will be printed out to the log
and will be saved in snapshot catalog.SnapshotFuture<Void> createSnapshot(@Nullable @Nullable Set<String> cacheNames, @Nullable @Nullable File storePath, @Nullable @Nullable SnapshotCommonParams snapshotCommonParams, @Nullable @Nullable SnapshotCreateParams snapshotCreateParams, @Nullable @Nullable String msg)
SnapshotFuture.initFuture()
completes.
If incremental snapshot creation is not possible (there is no previously created full snapshot available),
the returned future will be completed with a corresponding error.cacheNames
- Cache names to snapshot. null
to create a snapshot for all caches.storePath
- Path to directory where snapshot will be stored.snapshotCommonParams
- Additional common parameters for snapshot operation.snapshotCreateParams
- Additional parameters for snapshot creation.msg
- Additional optional user message that will be printed out to the log
and will be saved in snapshot catalog.SnapshotFuture<Void> createSnapshot(@Nullable @Nullable Set<String> includeCacheOrGroups, @Nullable @Nullable Set<String> excludeCachesOrGroups, @Nullable @Nullable File storePath, @Nullable @Nullable SnapshotCommonParams snapshotCommonParams, @Nullable @Nullable SnapshotCreateParams snapshotCreateParams, @Nullable @Nullable String msg)
includeCacheOrGroups
- Cache names to snapshot, null
to create a snapshot for all caches.excludeCachesOrGroups
- Cache or groups excluded from scope of operation,
null
no caches will be excluded.storePath
- Path to directory where snapshot will be stored.snapshotCommonParams
- Additional common parameters for snapshot operation.snapshotCreateParams
- Additional parameters for snapshot creation.msg
- Additional optional user message that will be printed out to the log
and will be saved in snapshot catalog.@Deprecated List<SnapshotInfo> listSnapshots(Collection<File> optSearchPaths)
list(ListSnapshotParams)
or list()
.optSearchPaths
is not empty, will try
to read and merge snapshot chains from the specified search paths as well.optSearchPaths
- An optional collection of search paths to search for snapshots.List<SnapshotInfo> list()
List<SnapshotInfo> list(@Nullable @Nullable ListSnapshotParams params)
optSearchPaths
is not empty, will try
to read and merge snapshot chains from the specified search paths as well.params
- Parameters for list operation.@Deprecated SnapshotInfoEx snapshot(long snapshotId, Collection<File> optSearchPaths)
snapshot(SnapshotInfoParams)
.optSearchPaths
is not empty,
will try to read and merge snapshot chains from the specified search paths as well.optSearchPaths
- An optional collection of search paths to search for snapshots.SnapshotInfoEx snapshot(SnapshotInfoParams params)
optSearchPaths
is not empty,
will try to read and merge snapshot chains from the specified search paths as well.params
- Parameters for operation.@Deprecated SnapshotFuture<Void> restoreSnapshot(long snapshotId, Set<String> cacheNames, String msg)
restore(RestoreSnapshotParams)
.snapshotId
- ID of snapshot to restore.cacheNames
- Collection of cache names to restore from this snapshot. If null
, all saved caches
will be restored.msg
- Additional optional user message that will be printed out to the log and
will be saved in the snapshot catalog.@Deprecated SnapshotFuture<Void> restoreSnapshot(long snapshotId, Collection<File> optSearchPaths, Set<String> cacheNames, String msg)
restore(RestoreSnapshotParams)
.optSearchPaths
- Optional path to search for snapshots data. If a snapshot was moved to an external
directory or was initially created in custom directory, this external directory may be specified in
this parameter for a snapshot restore.snapshotId
- ID of snapshot to restore. If a cache with the given name already exists, it will be destroyed
and contents will be applied in-place. This operations (destroy and restore) are not atomic, so it
is recommended to create a snapshot before restoring the data.cacheNames
- Collection of cache names to restore from this snapshot. If null
, all saved caches
will be restored.msg
- Additional optional user message that will be printed out to the log
and will be saved in snapshot catalog.moveSnapshot(long, File, String)
@Deprecated SnapshotFuture<Void> restoreSnapshot(long snapshotId, Collection<File> optSearchPaths, Set<String> cacheNames, IgniteBiClosure<String,CacheConfiguration,CacheConfiguration> c, String msg)
restore(RestoreSnapshotParams)
.optSearchPaths
- Optional path to search for snapshots data. If a snapshot was moved to an external
directory or was initially created in custom directory, this external directory may be specified in
this parameter for a snapshot restore.snapshotId
- ID of snapshot to restore. If a cache with the given name already exists, it will be destroyed
and contents will be applied in-place. This operations (destroy and restore) are not atomic, so it is recommended
to create a snapshot before restoring the data.cacheNames
- Collection of cache names to restore from this snapshot. If null
, all saved caches will
be restored.c
- Optional closure for CacheConfiguration conversion during snapshot restore.msg
- Additional optional user message that will be printed out to the log
and will be saved in snapshot catalog.moveSnapshot(long, File, String)
@Deprecated SnapshotFuture<Void> restoreSnapshot(long snapshotId, Collection<File> optSearchPaths, Set<String> cacheNames, boolean forceRestore, IgniteBiClosure<String,CacheConfiguration,CacheConfiguration> c, String msg)
restore(RestoreSnapshotParams)
.snapshotId
- ID of snapshot to restore. If a cache with the given name already exists, it will be destroyed
and contents will be applied in-place. This operations (destroy and restore) are not atomic, so it is recommended
to create a snapshot before restoring the data.optSearchPaths
- Optional path to search for snapshots data. If a snapshot was moved to an external
directory or was initially created in custom directory, this external directory may be specified in
this parameter for a snapshot restore.cacheNames
- Collection of cache names to restore from this snapshot. If null
, all saved caches will
be restored.forceRestore
- flag indicating restore force: if newly created cache in group may be destroyed by this
restore, default is false
.c
- Optional closure for CacheConfiguration conversion during snapshot restore.msg
- Additional optional user message that will be printed out to the log
and will be saved in snapshot catalog.moveSnapshot(long, File, String)
SnapshotFuture<Void> restore(RestoreSnapshotParams params)
params
- Parameters for restore operation.move(MoveSnapshotParams)
SnapshotFuture<Void> deleteSnapshot(long snapshotId, String msg)
forceDeleteSnapshot(long, String)
in this case).snapshotId
- ID of snapshot to delete.msg
- Additional optional user message that will be printed out to the log
and will be saved in snapshot catalog.@Deprecated SnapshotFuture<Void> deleteSnapshot(long snapshotId, org.gridgain.grid.internal.processors.cache.database.SnapshotUpdateOperationParameters operationParameters, String msg)
deleteSnapshot(long, SnapshotUpdateOperationParams, String)
.forceDeleteSnapshot(long, String)
in this case).snapshotId
- ID of snapshot to delete.operationParameters
- Additional operation parameters.msg
- Additional optional user message that will be printed out to the log
and will be saved in snapshot catalog.SnapshotFuture<Void> deleteSnapshot(long snapshotId, SnapshotUpdateOperationParams operationParams, String msg)
forceDeleteSnapshot(long, String)
in this case).snapshotId
- ID of snapshot to delete.operationParams
- Additional operation params.msg
- Additional optional user message that will be printed out to the log
and will be saved in snapshot catalog.@Deprecated SnapshotFuture<Void> forceDeleteSnapshot(long snapshotId, String msg)
snapshotId
- Snapshot ID to delete.msg
- Additional optional user message that will be printed out to the log
and will be saved in snapshot catalog.@Deprecated SnapshotFuture<List<SnapshotIssue>> checkSnapshot(long snapshotId, Collection<File> optSearchPaths, boolean skipCrc, String msg)
check(CheckSnapshotParams)
.snapshotId
- Snapshot ID to check.optSearchPaths
- Optional path to search for snapshots data. If a snapshot was moved to an external
directory or was initially created in custom directory, this external directory may be specified in
this parameter for a snapshot restore.skipCrc
- Flag to skip CRC check.msg
- Additional optional user message that will be printed out to the log
and will be saved in snapshot catalog.@Deprecated SnapshotFuture<List<SnapshotIssue>> checkSnapshot(long snapshotId, Collection<File> optSearchPaths, Set<String> cacheNames, boolean forceRestore, boolean skipCrc, String msg)
check(CheckSnapshotParams)
.snapshotId
- Snapshot ID to check.optSearchPaths
- Optional path to search for snapshots data. If a snapshot was moved to an external
directory or was initially created in custom directory, this external directory may be specified in this
parameter for a snapshot restore.cacheNames
- Collection of cache names to check for restore. If null
, all saved caches will be
checked.forceRestore
- check snapshot for force restore or not, default is false
.skipCrc
- Flag to skip CRC check.msg
- Additional optional user message that will be printed out to the log
and will be saved in snapshot catalog.@Deprecated SnapshotFuture<List<SnapshotIssue>> checkSnapshot(long snapshotId, SnapshotOperationType type, Set<String> cacheNames, boolean forceRestore, Collection<File> optSearchPaths, boolean skipCrc, IgniteBiClosure<String,CacheConfiguration,CacheConfiguration> c, String msg)
check(CheckSnapshotParams)
.snapshotId
- Snapshot ID to check.optSearchPaths
- Optional path to search for snapshots data. If a snapshot was moved to an external
directory or was initially created in custom directory, this external directory may be specified in this
parameter for a snapshot restore.cacheNames
- Collection of cache names to check for restore. If null
, all saved caches will be
checked.forceRestore
- check snapshot for force restore or not, default is false
.skipCrc
- Flag to skip CRC check.c
- Optional closure for CacheConfiguration conversion during snapshot restore.msg
- Additional optional user message that will be printed out to the log
and will be saved in snapshot catalog.SnapshotFuture<List<SnapshotIssue>> check(CheckSnapshotParams params)
params
- Parameters for operation.@Deprecated SnapshotFuture<Void> moveSnapshot(long snapshotId, File destPath, String msg)
move(MoveSnapshotParams)
.forceMoveSnapshot(long, File, String)
in this case).snapshotId
- Snapshot ID to move.destPath
- Destination path.msg
- Additional optional user message that will be printed out to the log
and will be saved in snapshot catalog.@Deprecated SnapshotFuture<Void> forceMoveSnapshot(long snapshotId, File destPath, String msg)
snapshotId
- Snapshot ID to move.destPath
- Destination path.msg
- Additional optional user message that will be printed out to the log
and will be saved in snapshot catalog.@Deprecated SnapshotFuture<Void> moveSnapshot(long snapshotId, File destPath, boolean skipWalMove, String msg)
move(MoveSnapshotParams)
.snapshotId
- Snapshot ID to move.destPath
- Destination path.skipWalMove
- If true
then skip moving WAL files in PITR case.msg
- Additional user message to log.@Deprecated SnapshotFuture<Void> moveSnapshot(long snapshotId, File destPath, boolean skipWalMove, org.gridgain.grid.internal.processors.cache.database.SnapshotUpdateOperationParameters operationParameters, String msg)
move(MoveSnapshotParams)
.snapshotId
- Snapshot ID to move.destPath
- Destination path.skipWalMove
- If true
then skip moving WAL files in PITR case.msg
- Additional user message to log.operationParameters
- Additional operation parameters.@Deprecated SnapshotFuture<Void> moveSnapshot(long snapshotId, File destPath, boolean skipWalMove, SnapshotUpdateOperationParams operationParams, String msg)
move(MoveSnapshotParams)
.snapshotId
- Snapshot ID to move.destPath
- Destination path.skipWalMove
- If true
then skip moving WAL files in PITR case.msg
- Additional user message to log.operationParams
- Additional operation parameters.SnapshotFuture<Void> move(MoveSnapshotParams params)
params
- Parameters for operation.@Deprecated SnapshotFuture<Void> copySnapshot(long snapshotId, File destPath, org.gridgain.grid.internal.processors.cache.database.SnapshotUpdateOperationParameters operationParameters, String msg)
copy(CopySnapshotParams)
.snapshotId
- Snapshot ID to move.destPath
- Destination path.operationParameters
- Additional operation parameters.msg
- Additional user message to log.@Deprecated SnapshotFuture<Void> copySnapshot(long snapshotId, File destPath, SnapshotUpdateOperationParams operationParams, String msg)
copy(CopySnapshotParams)
.snapshotId
- Snapshot ID to move.destPath
- Destination path.operationParams
- Additional operation params.msg
- Additional user message to log.@Deprecated SnapshotFuture<Void> copySnapshot(long snapshotId, File destPath, boolean skipWalMove, org.gridgain.grid.internal.processors.cache.database.SnapshotUpdateOperationParameters operationParameters, String msg)
copy(CopySnapshotParams)
.snapshotId
- Snapshot ID to move.destPath
- Destination path.skipWalMove
- If true
then skip moving WAL files in PITR case.operationParameters
- Additional operation parameters.msg
- Additional user message to log.@Deprecated SnapshotFuture<Void> copySnapshot(long snapshotId, File destPath, boolean skipWalMove, SnapshotUpdateOperationParams updateOperationParams, String msg)
copy(CopySnapshotParams)
.snapshotId
- Snapshot ID to move.destPath
- Destination path.skipWalMove
- If true
then skip moving WAL files in PITR case.updateOperationParams
- Additional operation params.msg
- Additional user message to log.SnapshotFuture<Void> copy(CopySnapshotParams params)
params
- Snapshot ID to move.SnapshotStatus ongoingSnapshotOperation()
null
.null
if there is none.IgniteFuture ongoingSnapshotOperationFuture()
null
if there is none.
Future will be completed when snapshot operation completes.IgniteFuture<Boolean> cancelSnapshotOperation(IgniteUuid operationId, String msg)
operationId
- Operation ID to cancel.msg
- Additional optional user message that will be printed out to the log
and will be saved in snapshot catalog.IgniteFuture<Boolean> forceCancelSnapshotOperation(IgniteUuid operationId, String msg)
operationId
- Operation ID to cancel.msg
- Additional optional user message that will be printed out to the log
and will be saved in snapshot catalog.
GridGain In-Memory Computing Platform : ver. 8.9.14 Release Date : November 5 2024