Class StopWithSavepointTerminationHandlerImpl

java.lang.Object
org.apache.flink.runtime.scheduler.stopwithsavepoint.StopWithSavepointTerminationHandlerImpl
All Implemented Interfaces:
StopWithSavepointTerminationHandler

public class StopWithSavepointTerminationHandlerImpl extends Object implements StopWithSavepointTerminationHandler
StopWithSavepointTerminationHandlerImpl implements StopWithSavepointTerminationHandler.

The operation only succeeds if both steps, the savepoint creation and the successful termination of the job, succeed. If the former step fails, the operation fails exceptionally without any further actions. If the latter one fails, a global fail-over is triggered before failing the operation.

The implementation expects the savepoint creation being completed before the executions terminate.

See Also: