Package xyz.block.ftl.v1
Class RunnerServiceGrpc.RunnerServiceStub
-
- All Implemented Interfaces:
public final class RunnerServiceGrpc.RunnerServiceStub extends AbstractAsyncStub<S>A stub to allow clients to do asynchronous 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 voidping(PingRequest request, StreamObserver<PingResponse> responseObserver)voidreserve(ReserveRequest request, StreamObserver<ReserveResponse> responseObserver)Reserve synchronously reserves a Runner for a deployment but does nothing else.voiddeploy(DeployRequest request, StreamObserver<DeployResponse> responseObserver)Initiate a deployment on this Runner.voidterminate(TerminateRequest request, StreamObserver<RegisterRunnerRequest> responseObserver)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.AbstractAsyncStub
newStub -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
ping
void ping(PingRequest request, StreamObserver<PingResponse> responseObserver)
-
reserve
void reserve(ReserveRequest request, StreamObserver<ReserveResponse> responseObserver)
Reserve synchronously reserves a Runner for a deployment but does nothing else.
-
deploy
void deploy(DeployRequest request, StreamObserver<DeployResponse> responseObserver)
Initiate a deployment on this Runner.
-
terminate
void terminate(TerminateRequest request, StreamObserver<RegisterRunnerRequest> responseObserver)
Terminate the deployment on this Runner.
-
-
-
-