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 Type
    Method
    Description
    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

    dumpState

    Methods inherited from interface org.apache.ignite.internal.manager.IgniteComponent

    beforeNodeStop, startAsync, stopAsync, stopAsync
  • Method Details

    • snapshotFileSystem

      SnapshotFileSystem snapshotFileSystem(UUID snapshotId, SnapshotUri snapshotUri)
      Resolves the filesystem for a given snapshot based on a given URI.
      Parameters:
      snapshotId - Snapshot ID.
      snapshotUri - Snapshot URI.
    • snapshotFileSystem

      @TestOnly SnapshotFileSystem snapshotFileSystem(UUID snapshotId)
      Resolves the filesystem for a given snapshot using default URI.
    • snapshotUri

      SnapshotUri snapshotUri(@Nullable @Nullable String name)
      Resolves the snapshot path from configuration by name.
      Parameters:
      name - Name of the path or null for default.
      Returns:
      Snapshot URI.
      Throws:
      SnapshotIllegalArgumentException - if path not found by given name.