Package alluxio.cli
Class BasicOperations
- java.lang.Object
-
- alluxio.cli.BasicOperations
-
- All Implemented Interfaces:
java.util.concurrent.Callable<java.lang.Boolean>
@ThreadSafe public class BasicOperations extends java.lang.Object implements java.util.concurrent.Callable<java.lang.Boolean>Example to show the basic operations of Alluxio.
-
-
Constructor Summary
Constructors Constructor Description BasicOperations(alluxio.AlluxioURI filePath, alluxio.client.ReadType readType, alluxio.client.WriteType writeType, alluxio.client.file.FileSystemContext fsContext, alluxio.grpc.WorkerNetAddress workerNetAddress)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Booleancall()
-
-
-
Constructor Detail
-
BasicOperations
public BasicOperations(alluxio.AlluxioURI filePath, alluxio.client.ReadType readType, alluxio.client.WriteType writeType, alluxio.client.file.FileSystemContext fsContext, @Nullable alluxio.grpc.WorkerNetAddress workerNetAddress)- Parameters:
filePath- the path for the filesreadType- theReadPTypewriteType- theWritePTypefsContext- theFileSystemContextto use for client operationsworkerNetAddress- if not null, the worker address the file data will be written into
-
-