Package org.apache.hadoop.fs.http.server
Class FSOperations.FSDeleteSnapshot
java.lang.Object
org.apache.hadoop.fs.http.server.FSOperations.FSDeleteSnapshot
- All Implemented Interfaces:
FileSystemAccess.FileSystemExecutor<Void>
- Enclosing class:
- FSOperations
@Private
public static class FSOperations.FSDeleteSnapshot
extends Object
implements FileSystemAccess.FileSystemExecutor<Void>
Executor that performs a deleteSnapshot FileSystemAccess operation.
-
Constructor Summary
ConstructorsConstructorDescriptionFSDeleteSnapshot(String path, String snapshotName) Creates a deleteSnapshot executor. -
Method Summary
-
Constructor Details
-
FSDeleteSnapshot
Creates a deleteSnapshot executor.- Parameters:
path- path for the snapshot to be deleted.snapshotName- snapshot name.
-
-
Method Details
-
execute
Executes the filesystem operation.- Specified by:
executein interfaceFileSystemAccess.FileSystemExecutor<Void>- Parameters:
fs- filesystem instance to use.- Returns:
- void
- Throws:
IOException- thrown if an IO error occurred.
-