Package xyz.block.ftl.lease.v1
Interface LeaseServiceGrpc.AsyncService
-
- All Implemented Interfaces:
public interface LeaseServiceGrpc.AsyncServiceModuleService is the service that modules use to interact with the Controller.
-
-
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.-
-
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.
-
-
-
-