Class ExecutionsGrpc.ExecutionsBlockingStub (2.19.0)

public static final class ExecutionsGrpc.ExecutionsBlockingStub extends AbstractBlockingStub<ExecutionsGrpc.ExecutionsBlockingStub>

A stub to allow clients to do synchronous 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.AbstractBlockingStub > ExecutionsGrpc.ExecutionsBlockingStub

Methods

build(Channel channel, CallOptions callOptions)

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

cancelExecution(CancelExecutionRequest request)

public Execution cancelExecution(CancelExecutionRequest request)

Cancels an execution of the given name.

Parameter
NameDescription
requestCancelExecutionRequest
Returns
TypeDescription
Execution

createExecution(CreateExecutionRequest request)

public Execution createExecution(CreateExecutionRequest request)

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

Parameter
NameDescription
requestCreateExecutionRequest
Returns
TypeDescription
Execution

getExecution(GetExecutionRequest request)

public Execution getExecution(GetExecutionRequest request)

Returns an execution of the given name.

Parameter
NameDescription
requestGetExecutionRequest
Returns
TypeDescription
Execution

listExecutions(ListExecutionsRequest request)

public ListExecutionsResponse listExecutions(ListExecutionsRequest request)

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).

Parameter
NameDescription
requestListExecutionsRequest
Returns
TypeDescription
ListExecutionsResponse