FileSystemAccess.FileSystemExecutor<java.lang.Void>@Private public static class FSOperations.FSSetTimes extends java.lang.Object implements FileSystemAccess.FileSystemExecutor<java.lang.Void>
| Constructor | Description |
|---|---|
FSSetTimes(java.lang.String path,
long mTime,
long aTime) |
Creates a set-times executor.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.Void |
execute(org.apache.hadoop.fs.FileSystem fs) |
Executes the filesystem operation.
|
public FSSetTimes(java.lang.String path,
long mTime,
long aTime)
path - path to set the times.mTime - modified time to set.aTime - access time to set.public java.lang.Void execute(org.apache.hadoop.fs.FileSystem fs)
throws java.io.IOException
execute in interface FileSystemAccess.FileSystemExecutor<java.lang.Void>fs - filesystem instance to use.java.io.IOException - thrown if an IO error occurred.Copyright © 2008–2025 Apache Software Foundation. All rights reserved.