List of usage examples for org.apache.hadoop.hdfs.web.resources AccessTimeParam AccessTimeParam
public AccessTimeParam(final String str)
From source file:com.bigstep.datalake.DLFileSystem.java
License:Apache License
@Override public void setTimes(final Path p, final long mtime, final long atime) throws IOException { statistics.incrementWriteOps(1);// w w w.j a va 2 s .c o m final HttpOpParam.Op op = PutOpParam.Op.SETTIMES; new FsPathRunner(op, p, new ModificationTimeParam(mtime), new AccessTimeParam(atime)).run(); }