Class DefaultExecutionOperations
java.lang.Object
org.apache.flink.runtime.scheduler.DefaultExecutionOperations
- All Implemented Interfaces:
ExecutionOperations
Default implementation of
ExecutionOperations.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCancel the execution.voidDeploy the execution.voidmarkFailed(Execution execution, Throwable cause) Mark the execution as FAILED.
-
Constructor Details
-
DefaultExecutionOperations
public DefaultExecutionOperations()
-
-
Method Details
-
deploy
Description copied from interface:ExecutionOperationsDeploy the execution.- Specified by:
deployin interfaceExecutionOperations- Parameters:
execution- to deploy.- Throws:
JobException- if the execution cannot be deployed to the assigned resource
-
cancel
Description copied from interface:ExecutionOperationsCancel the execution.- Specified by:
cancelin interfaceExecutionOperations- Parameters:
execution- to cancel- Returns:
- Future which completes when the cancellation is done
-
markFailed
Description copied from interface:ExecutionOperationsMark the execution as FAILED.- Specified by:
markFailedin interfaceExecutionOperations- Parameters:
execution- to mark as failed.cause- of the execution failure
-