public class DefaultExecutionOperations extends Object implements ExecutionOperations
ExecutionOperations.| 构造器和说明 |
|---|
DefaultExecutionOperations() |
| 限定符和类型 | 方法和说明 |
|---|---|
CompletableFuture<?> |
cancel(Execution execution)
Cancel the execution.
|
void |
deploy(Execution execution)
Deploy the execution.
|
void |
markFailed(Execution execution,
Throwable cause)
Mark the execution as FAILED.
|
public void deploy(Execution execution) throws JobException
ExecutionOperationsdeploy 在接口中 ExecutionOperationsexecution - to deploy.JobException - if the execution cannot be deployed to the assigned resourcepublic CompletableFuture<?> cancel(Execution execution)
ExecutionOperationscancel 在接口中 ExecutionOperationsexecution - to cancelpublic void markFailed(Execution execution, Throwable cause)
ExecutionOperationsmarkFailed 在接口中 ExecutionOperationsexecution - to mark as failed.cause - of the execution failureCopyright © 2014–2023 The Apache Software Foundation. All rights reserved.