Package org.gridgain.internal.snapshots
Class SnapshotManager
java.lang.Object
org.gridgain.internal.snapshots.SnapshotManager
- All Implemented Interfaces:
org.apache.ignite.internal.lang.Debuggable,org.apache.ignite.internal.manager.IgniteComponent
public class SnapshotManager
extends Object
implements org.apache.ignite.internal.manager.IgniteComponent
Class responsible for creating and restoring GG Snapshots.
-
Field Summary
Fields inherited from interface org.apache.ignite.internal.lang.Debuggable
INDENTATION -
Constructor Summary
ConstructorsConstructorDescriptionSnapshotManager(org.apache.ignite.internal.network.ClusterService clusterService, org.apache.ignite.internal.metastorage.impl.MetaStorageManagerImpl metaStorageManager, org.apache.ignite.internal.catalog.CatalogManager catalogManager, org.apache.ignite.internal.table.distributed.TableManager tableManager, org.apache.ignite.internal.tx.TxManager txManager, org.apache.ignite.internal.partition.replicator.PartitionReplicaLifecycleManager partitionReplicaLifecycleManager, org.apache.ignite.internal.cluster.management.topology.api.LogicalTopologyService logicalTopologyService, org.apache.ignite.internal.schema.SchemaSyncService schemaSyncService, org.apache.ignite.internal.placementdriver.PlacementDriver placementDriver, org.apache.ignite.internal.replicator.ReplicaManager replicaManager, org.apache.ignite.internal.hlc.HybridClock clock, SnapshotFileSystemManager snapshotsFileSystem, org.gridgain.internal.snapshots.configuration.NodeSnapshotConfiguration snapshotConfiguration, org.apache.ignite.internal.replicator.configuration.ReplicationConfiguration replicationConfiguration, SnapshotTombstoneManager snapshotTombstoneManager, org.gridgain.internal.encryption.EncryptionManager encryptionManager, org.gridgain.internal.encryption.storage.DataEncryptionKeyManager dataEncryptionKeyManager, org.apache.ignite.internal.components.NodeProperties nodeProperties, org.apache.ignite.internal.configuration.SystemLocalConfiguration systemLocalConfiguration, org.apache.ignite.internal.hlc.ClockService clockService) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoidcontext()startAsync(org.apache.ignite.internal.manager.ComponentContext componentContext) stopAsync(org.apache.ignite.internal.manager.ComponentContext componentContext) static StringtmpTableNamePrefix(UUID operationId) Prefix for temporary table names that are used during Snapshot restoration.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.ignite.internal.lang.Debuggable
dumpStateMethods inherited from interface org.apache.ignite.internal.manager.IgniteComponent
stopAsync
-
Constructor Details
-
SnapshotManager
public SnapshotManager(org.apache.ignite.internal.network.ClusterService clusterService, org.apache.ignite.internal.metastorage.impl.MetaStorageManagerImpl metaStorageManager, org.apache.ignite.internal.catalog.CatalogManager catalogManager, org.apache.ignite.internal.table.distributed.TableManager tableManager, org.apache.ignite.internal.tx.TxManager txManager, org.apache.ignite.internal.partition.replicator.PartitionReplicaLifecycleManager partitionReplicaLifecycleManager, org.apache.ignite.internal.cluster.management.topology.api.LogicalTopologyService logicalTopologyService, org.apache.ignite.internal.schema.SchemaSyncService schemaSyncService, org.apache.ignite.internal.placementdriver.PlacementDriver placementDriver, org.apache.ignite.internal.replicator.ReplicaManager replicaManager, org.apache.ignite.internal.hlc.HybridClock clock, SnapshotFileSystemManager snapshotsFileSystem, org.gridgain.internal.snapshots.configuration.NodeSnapshotConfiguration snapshotConfiguration, org.apache.ignite.internal.replicator.configuration.ReplicationConfiguration replicationConfiguration, SnapshotTombstoneManager snapshotTombstoneManager, org.gridgain.internal.encryption.EncryptionManager encryptionManager, org.gridgain.internal.encryption.storage.DataEncryptionKeyManager dataEncryptionKeyManager, org.apache.ignite.internal.components.NodeProperties nodeProperties, org.apache.ignite.internal.configuration.SystemLocalConfiguration systemLocalConfiguration, org.apache.ignite.internal.hlc.ClockService clockService) Constructor.
-
-
Method Details
-
startAsync
public CompletableFuture<Void> startAsync(org.apache.ignite.internal.manager.ComponentContext componentContext) - Specified by:
startAsyncin interfaceorg.apache.ignite.internal.manager.IgniteComponent
-
beforeNodeStop
public void beforeNodeStop()- Specified by:
beforeNodeStopin interfaceorg.apache.ignite.internal.manager.IgniteComponent
-
stopAsync
public CompletableFuture<Void> stopAsync(org.apache.ignite.internal.manager.ComponentContext componentContext) - Specified by:
stopAsyncin interfaceorg.apache.ignite.internal.manager.IgniteComponent
-
tmpTableNamePrefix
Prefix for temporary table names that are used during Snapshot restoration. -
context
-