Interface SnapshotFileSystemManager
- All Superinterfaces:
org.apache.ignite.internal.lang.Debuggable,org.apache.ignite.internal.manager.IgniteComponent
- All Known Implementing Classes:
SnapshotFileSystemManagerImpl
public interface SnapshotFileSystemManager
extends org.apache.ignite.internal.manager.IgniteComponent
Class representing the file structure of all Snapshots.
-
Field Summary
Fields inherited from interface org.apache.ignite.internal.lang.Debuggable
INDENTATION -
Method Summary
Modifier and TypeMethodDescriptionsnapshotFileSystem(UUID snapshotId) Resolves the filesystem for a given snapshot using default URI.snapshotFileSystem(UUID snapshotId, SnapshotUri snapshotUri) Resolves the filesystem for a given snapshot based on a given URI.snapshotUri(@Nullable String name) Resolves the snapshot path from configuration by name.Methods inherited from interface org.apache.ignite.internal.lang.Debuggable
dumpStateMethods inherited from interface org.apache.ignite.internal.manager.IgniteComponent
beforeNodeStop, startAsync, stopAsync, stopAsync
-
Method Details
-
snapshotFileSystem
Resolves the filesystem for a given snapshot based on a given URI.- Parameters:
snapshotId- Snapshot ID.snapshotUri- Snapshot URI.
-
snapshotFileSystem
Resolves the filesystem for a given snapshot using default URI. -
snapshotUri
Resolves the snapshot path from configuration by name.- Parameters:
name- Name of the path ornullfor default.- Returns:
- Snapshot URI.
- Throws:
SnapshotIllegalArgumentException- if path not found by given name.
-