public static final class ExecutionsGrpc.ExecutionsStub extends AbstractAsyncStub<ExecutionsGrpc.ExecutionsStub>
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
Inherited Members
io.grpc.stub.AbstractAsyncStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractAsyncStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.<T>withOption(io.grpc.CallOptions.Key<T>,T)
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.getCallOptions()
io.grpc.stub.AbstractStub.getChannel()
io.grpc.stub.AbstractStub.withCallCredentials(io.grpc.CallCredentials)
io.grpc.stub.AbstractStub.withChannel(io.grpc.Channel)
io.grpc.stub.AbstractStub.withCompression(java.lang.String)
io.grpc.stub.AbstractStub.withDeadline(io.grpc.Deadline)
io.grpc.stub.AbstractStub.withDeadlineAfter(long,java.util.concurrent.TimeUnit)
io.grpc.stub.AbstractStub.withExecutor(java.util.concurrent.Executor)
io.grpc.stub.AbstractStub.withInterceptors(io.grpc.ClientInterceptor...)
io.grpc.stub.AbstractStub.withMaxInboundMessageSize(int)
io.grpc.stub.AbstractStub.withMaxOutboundMessageSize(int)
io.grpc.stub.AbstractStub.withWaitForReady()
Methods
build(Channel channel, CallOptions callOptions)
protected ExecutionsGrpc.ExecutionsStub build(Channel channel, CallOptions callOptions)
Parameters
Name | Description |
channel | io.grpc.Channel
|
callOptions | io.grpc.CallOptions
|
Returns
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
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
getExecution(GetExecutionRequest request, StreamObserver<Execution> responseObserver)
public void getExecution(GetExecutionRequest request, StreamObserver<Execution> responseObserver)
Returns an execution of the given name.
Parameters
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