Class ExecutionsGrpc.ExecutionsBlockingStub (2.49.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
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
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
Name Description
request CancelExecutionRequest
Returns
Type Description
Execution

createExecution(CreateExecutionRequest request)

public Execution createExecution(CreateExecutionRequest request)

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

Parameter
Name Description
request CreateExecutionRequest
Returns
Type Description
Execution

getExecution(GetExecutionRequest request)

public Execution getExecution(GetExecutionRequest request)

Returns an execution of the given name.

Parameter
Name Description
request GetExecutionRequest
Returns
Type Description
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
Name Description
request ListExecutionsRequest
Returns
Type Description
ListExecutionsResponse