@InterfaceAudience.Private public static class FSOperations.FSDisallowSnapshot extends Object implements FileSystemAccess.FileSystemExecutor<Void>
| Constructor and Description | 
|---|
| FSDisallowSnapshot(String path)Creates a disallowSnapshot executor. | 
| Modifier and Type | Method and Description | 
|---|---|
| Void | execute(org.apache.hadoop.fs.FileSystem fs)Executes the filesystem operation. | 
public FSDisallowSnapshot(String path)
path - directory path to allow snapshot.public Void execute(org.apache.hadoop.fs.FileSystem fs) throws IOException
execute in interface FileSystemAccess.FileSystemExecutor<Void>fs - filesystem instance to use.IOException - thrown if an IO error occurred.Copyright © 2008–2023 Apache Software Foundation. All rights reserved.