@InterfaceAudience.Private public static class FSOperations.FSSetTimes extends Object implements FileSystemAccess.FileSystemExecutor<Void>
| Constructor and Description |
|---|
FSOperations.FSSetTimes(String path,
long mTime,
long aTime)
Creates a set-times executor.
|
public FSOperations.FSSetTimes(String path, long mTime, long aTime)
path - path to set the times.mTime - modified time to set.aTime - access time to set.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 occured.Copyright © 2022 Apache Software Foundation. All rights reserved.