Package xyz.block.ftl.lease.v1
Class LeaseServiceGrpc.LeaseServiceStub
-
- All Implemented Interfaces:
public final class LeaseServiceGrpc.LeaseServiceStub extends AbstractAsyncStub<S>A stub to allow clients to do asynchronous rpc calls to service LeaseService.
ModuleService is the service that modules use to interact with the Controller.
-
-
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)Ping service for readiness.StreamObserver<AcquireLeaseRequest>acquireLease(StreamObserver<AcquireLeaseResponse> responseObserver)Acquire (and renew) a lease for a deployment. Returns ResourceExhausted if the lease is held.-
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)
Ping service for readiness.
-
acquireLease
StreamObserver<AcquireLeaseRequest> acquireLease(StreamObserver<AcquireLeaseResponse> responseObserver)
Acquire (and renew) a lease for a deployment. Returns ResourceExhausted if the lease is held.
-
-
-
-