Package alluxio.cli
Class BasicCheckpoint
- java.lang.Object
-
- alluxio.cli.BasicCheckpoint
-
- All Implemented Interfaces:
java.util.concurrent.Callable<java.lang.Boolean>
public class BasicCheckpoint extends java.lang.Object implements java.util.concurrent.Callable<java.lang.Boolean>An example to show to how use Alluxio's API.
-
-
Constructor Summary
Constructors Constructor Description BasicCheckpoint(java.lang.String fileFolder, int numFiles, alluxio.client.file.FileSystemContext fsContext)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Booleancall()static voidmain(java.lang.String[] args)Example program for using checkpoints.
-
-
-
Method Detail
-
call
public java.lang.Boolean call() throws java.lang.Exception- Specified by:
callin interfacejava.util.concurrent.Callable<java.lang.Boolean>- Throws:
java.lang.Exception
-
main
public static void main(java.lang.String[] args) throws java.io.IOExceptionExample program for using checkpoints. Usage:java -cp <ALLUXIO-VERSION> alluxio.cli.BasicCheckpoint <FileFolder> <Files>- Parameters:
args- the folder for the files and the files to use- Throws:
java.io.IOException
-
-