Package org.apache.hadoop.fs.http.server
Class FSOperations.FSAllowSnapshot
java.lang.Object
org.apache.hadoop.fs.http.server.FSOperations.FSAllowSnapshot
- All Implemented Interfaces:
FileSystemAccess.FileSystemExecutor<Void>
- Enclosing class:
- FSOperations
@Private
public static class FSOperations.FSAllowSnapshot
extends Object
implements FileSystemAccess.FileSystemExecutor<Void>
Executor that performs an allowSnapshot operation.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
FSAllowSnapshot
Creates a allowSnapshot executor.- Parameters:
path- directory path to allow snapshot.
-
-
Method Details
-
execute
Executes the filesystem operation.- Specified by:
executein interfaceFileSystemAccess.FileSystemExecutor<Void>- Parameters:
fs- filesystem instance to use.- Throws:
IOException- thrown if an IO error occurred.
-