Example usage for org.apache.hadoop.hdfs.web.resources FsActionParam FsActionParam

List of usage examples for org.apache.hadoop.hdfs.web.resources FsActionParam FsActionParam

Introduction

In this page you can find the example usage for org.apache.hadoop.hdfs.web.resources FsActionParam FsActionParam.

Prototype

public FsActionParam(final FsAction value) 

Source Link

Document

Constructor.

Usage

From source file:com.bigstep.datalake.DLFileSystem.java

License:Apache License

@Override
public void access(final Path path, final FsAction mode) throws IOException {
    final HttpOpParam.Op op = GetOpParam.Op.CHECKACCESS;
    new FsPathRunner(op, path, new FsActionParam(mode)).run();
}