Package xyz.block.ftl.v1
Class RunnerServiceGrpc.RunnerServiceFutureStub
-
- All Implemented Interfaces:
public final class RunnerServiceGrpc.RunnerServiceFutureStub extends AbstractFutureStub<S>A stub to allow clients to do ListenableFuture-style rpc calls to service RunnerService.
RunnerService is the service that executes Deployments. The Controller will scale the Runner horizontally as required. The Runner will register itself automatically with the ControllerService, which will then assign modules to it.
-
-
Field Summary
Fields Modifier and Type Field Description public final Channelchannelpublic final CallOptionscallOptions
-
Method Summary
Modifier and Type Method Description ListenableFuture<PingResponse>ping(PingRequest request)ListenableFuture<ReserveResponse>reserve(ReserveRequest request)Reserve synchronously reserves a Runner for a deployment but does nothing else.ListenableFuture<DeployResponse>deploy(DeployRequest request)Initiate a deployment on this Runner.ListenableFuture<RegisterRunnerRequest>terminate(TerminateRequest request)Terminate the deployment on this Runner.-
Methods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady -
Methods inherited from class io.grpc.stub.AbstractFutureStub
newStub -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
ping
ListenableFuture<PingResponse> ping(PingRequest request)
-
reserve
ListenableFuture<ReserveResponse> reserve(ReserveRequest request)
Reserve synchronously reserves a Runner for a deployment but does nothing else.
-
deploy
ListenableFuture<DeployResponse> deploy(DeployRequest request)
Initiate a deployment on this Runner.
-
terminate
ListenableFuture<RegisterRunnerRequest> terminate(TerminateRequest request)
Terminate the deployment on this Runner.
-
-
-
-