public class BatchChkPntEnvironment extends BatchEnvironment
BatchEnvironment
with checkpointing capability.Constructor and Description |
---|
BatchChkPntEnvironment(WorkerEnvironment workerEnvironment) |
Modifier and Type | Method and Description |
---|---|
void |
commit()
Commits the snapshot
|
<T> T |
initVariable(java.lang.String name,
T defaultValue)
Initialize a variable from previous snapshot.
|
<T> T |
updateVariable(java.lang.String name,
T value)
Updates the variable in the snapshot
|
createArrowSource, createArrowSource, createCSVSource, createHadoopSource, createHadoopSource, createKeyedHadoopSource, createKeyedSource, createKeyedSource, createRowSource, createSource, createSource, createTextSource, eval, evalAndUpdate, finishEval, getData, getOperationMode, run, runAndUpdate, runOne
addInput, close, executeBuildContext, getConfig, getDefaultParallelism, getGraph, getInputs, getNoOfWorkers, getTaskExecutor, getTSetGraph, getWorkerEnv, getWorkerID, initBatch, initCheckpointing, initStreaming, isCheckpointingEnabled, parallelize, parallelize, parallelize, parallelize, setDefaultParallelism, settBaseGraph
public BatchChkPntEnvironment(WorkerEnvironment workerEnvironment)
public <T> T updateVariable(java.lang.String name, T value)
public <T> T initVariable(java.lang.String name, T defaultValue)
public void commit()