Class FSOperations.FSRenameSnapshot

java.lang.Object
org.apache.hadoop.fs.http.server.FSOperations.FSRenameSnapshot
All Implemented Interfaces:
FileSystemAccess.FileSystemExecutor<Void>
Enclosing class:
FSOperations

@Private public static class FSOperations.FSRenameSnapshot extends Object implements FileSystemAccess.FileSystemExecutor<Void>
Executor that performs a renameSnapshot FileSystemAccess operation.
  • Constructor Details

    • FSRenameSnapshot

      public FSRenameSnapshot(String path, String oldSnapshotName, String snapshotName)
      Creates a renameSnapshot executor.
      Parameters:
      path - directory path of the snapshot to be renamed.
      oldSnapshotName - current snapshot name.
      snapshotName - new snapshot name to be set.
  • Method Details