Interface ExecutionsGrpc.AsyncService (2.54.0)

public static interface ExecutionsGrpc.AsyncService

Executions is used to start and manage running instances of Workflows called executions.

Methods

cancelExecution(CancelExecutionRequest request, StreamObserver<Execution> responseObserver)

public default void cancelExecution(CancelExecutionRequest request, StreamObserver<Execution> responseObserver)

Cancels an execution of the given name.

Parameters
Name Description
request CancelExecutionRequest
responseObserver io.grpc.stub.StreamObserver<Execution>

createExecution(CreateExecutionRequest request, StreamObserver<Execution> responseObserver)

public default void createExecution(CreateExecutionRequest request, StreamObserver<Execution> responseObserver)

Creates a new execution using the latest revision of the given workflow.

Parameters
Name Description
request CreateExecutionRequest
responseObserver io.grpc.stub.StreamObserver<Execution>

getExecution(GetExecutionRequest request, StreamObserver<Execution> responseObserver)

public default void getExecution(GetExecutionRequest request, StreamObserver<Execution> responseObserver)

Returns an execution of the given name.

Parameters
Name Description
request GetExecutionRequest
responseObserver io.grpc.stub.StreamObserver<Execution>

listExecutions(ListExecutionsRequest request, StreamObserver<ListExecutionsResponse> responseObserver)

public default void listExecutions(ListExecutionsRequest request, StreamObserver<ListExecutionsResponse> responseObserver)

Returns a list of executions which belong to the workflow with the given name. The method returns executions of all workflow revisions. Returned executions are ordered by their start time (newest first).

Parameters
Name Description
request ListExecutionsRequest
responseObserver io.grpc.stub.StreamObserver<ListExecutionsResponse>