public class BasicCheckpoint
extends java.lang.Object
implements java.util.concurrent.Callable<java.lang.Boolean>
| Constructor and Description |
|---|
BasicCheckpoint(java.lang.String fileFolder,
int numFiles,
FileSystemContext fsContext) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Boolean |
call() |
static void |
main(java.lang.String[] args)
Example program for using checkpoints.
|
public BasicCheckpoint(java.lang.String fileFolder,
int numFiles,
FileSystemContext fsContext)
fileFolder - folder to use for the filesnumFiles - the number of filesfsContext - filesystem context to use for client operationspublic java.lang.Boolean call()
throws java.lang.Exception
call in interface java.util.concurrent.Callable<java.lang.Boolean>java.lang.Exceptionpublic static void main(java.lang.String[] args)
throws java.io.IOException
java -cp <ALLUXIO-VERSION> alluxio.examples.BasicCheckpoint <FileFolder> <Files>args - the folder for the files and the files to usejava.io.IOExceptionCopyright © 2019. All Rights Reserved.