List of usage examples for org.apache.hadoop.hdfs.web.resources ModificationTimeParam ModificationTimeParam
public ModificationTimeParam(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);/*from w ww .j a v a2s.c o m*/ final HttpOpParam.Op op = PutOpParam.Op.SETTIMES; new FsPathRunner(op, p, new ModificationTimeParam(mtime), new AccessTimeParam(atime)).run(); }