public class SnapshotMXBeanImpl extends Object implements SnapshotMXBean
| Constructor and Description |
|---|
SnapshotMXBeanImpl(GridKernalContext ctx) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancelSnapshot(String snpName)
Cancel previously started snapshot operation on the node initiator.
|
void |
cancelSnapshotOperation(String reqId)
Cancel previously started snapshot operation.
|
void |
cancelSnapshotRestore(String name)
Cancel previously started snapshot restore operation.
|
void |
createIncrementalSnapshot(String fullSnapshot,
String fullSnapshotPath)
Create the cluster-wide incremental snapshot for the given full snapshot.
|
void |
createSnapshot(String snpName,
String snpPath)
Create the cluster-wide snapshot with given name asynchronously.
|
void |
restoreSnapshot(String name,
String path,
String grpNames)
Restore cluster-wide snapshot.
|
void |
restoreSnapshot(String name,
String path,
String grpNames,
int incIdx)
Restore cluster-wide snapshot and its increments.
|
String |
status()
Get the status of the current snapshot operation in the cluster.
|
public SnapshotMXBeanImpl(GridKernalContext ctx)
ctx - Kernal context.public void createSnapshot(String snpName, String snpPath)
createSnapshot in interface SnapshotMXBeansnpName - Snapshot name to be created.snpPath - Snapshot directory path.(String)public void createIncrementalSnapshot(String fullSnapshot, String fullSnapshotPath)
createIncrementalSnapshot in interface SnapshotMXBeanfullSnapshot - Full snapshot name to attach incremental snapshot to.fullSnapshotPath - Full snapshot directory path.IgniteSnapshot.createSnapshot(String),
IgniteSnapshot.createIncrementalSnapshot(String)public void cancelSnapshot(String snpName)
cancelSnapshot in interface SnapshotMXBeansnpName - Snapshot name to cancel.public void cancelSnapshotOperation(String reqId)
cancelSnapshotOperation in interface SnapshotMXBeanreqId - Snapshot operation request ID.public void restoreSnapshot(String name, String path, String grpNames)
restoreSnapshot in interface SnapshotMXBeanname - Snapshot name.path - Snapshot directory path.grpNames - Optional comma-separated list of cache group names.IgniteSnapshot.restoreSnapshot(String, Collection)public void restoreSnapshot(String name, String path, String grpNames, int incIdx)
1 to the specified incIdx.restoreSnapshot in interface SnapshotMXBeanname - Snapshot name.path - Snapshot directory path.grpNames - Optional comma-separated list of cache group names.incIdx - Incremental snapshot index.IgniteSnapshot.restoreSnapshot(String, Collection)public void cancelSnapshotRestore(String name)
cancelSnapshotRestore in interface SnapshotMXBeanname - Snapshot name.IgniteSnapshot.cancelSnapshotRestore(String)public String status()
status in interface SnapshotMXBean
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.15.0 Release Date : April 25 2023