@PublicEvolving public interface CheckpointedAsynchronously<T extends Serializable> extends Checkpointed<T>
Checkpointed
interface, the function must produce a
snapshot of its state. However, the function must be able to continue working
and mutating its state without mutating the returned state snapshot.
Asynchronous checkpoints are desirable, because they allow the data streams at the point of the checkpointed function/operator to continue running while the checkpoint is in progress.
To be able to support asynchronous snapshots, the state returned by the
Checkpointed.snapshotState(long, long)
method is typically a copy or shadow copy
of the actual state.
restoreState, snapshotState
Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.