public interface CheckpointedOperator
AbstractInvokable that
participate in state checkpoints.| Modifier and Type | Method and Description |
|---|---|
void |
triggerCheckpoint(long checkpointId,
long timestamp)
This method is either called directly and asynchronously by the checkpoint
coordinator (in the case of functions that are directly notified - usually
the data sources), or called synchronously when all incoming channels have
reported a checkpoint barrier.
|
void triggerCheckpoint(long checkpointId,
long timestamp)
throws Exception
checkpointId - The ID of the checkpoint, incrementing.timestamp - The timestamp when the checkpoint was triggered at the JobManager.ExceptionCopyright © 2014–2015 The Apache Software Foundation. All rights reserved.