Class ExecutionsGrpc.ExecutionsStub (2.28.0)

public static final class ExecutionsGrpc.ExecutionsStub extends AbstractAsyncStub<ExecutionsGrpc.ExecutionsStub>

A stub to allow clients to do asynchronous rpc calls to service Executions.

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

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > ExecutionsGrpc.ExecutionsStub

Methods

build(Channel channel, CallOptions callOptions)

protected ExecutionsGrpc.ExecutionsStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
ExecutionsGrpc.ExecutionsStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

cancelExecution(CancelExecutionRequest request, StreamObserver<Execution> responseObserver)

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

Cancels an execution of the given name.

Parameters
NameDescription
requestCancelExecutionRequest
responseObserverio.grpc.stub.StreamObserver<Execution>

createExecution(CreateExecutionRequest request, StreamObserver<Execution> responseObserver)

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

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

Parameters
NameDescription
requestCreateExecutionRequest
responseObserverio.grpc.stub.StreamObserver<Execution>

getExecution(GetExecutionRequest request, StreamObserver<Execution> responseObserver)

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

Returns an execution of the given name.

Parameters
NameDescription
requestGetExecutionRequest
responseObserverio.grpc.stub.StreamObserver<Execution>

listExecutions(ListExecutionsRequest request, StreamObserver<ListExecutionsResponse> responseObserver)

public 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
NameDescription
requestListExecutionsRequest
responseObserverio.grpc.stub.StreamObserver<ListExecutionsResponse>