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.
    
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      public final Channel channel
      public final CallOptions callOptions
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      void ping(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