Class HotReloadServiceGrpc.HotReloadServiceFutureStub

  • All Implemented Interfaces:

    
    public final class HotReloadServiceGrpc.HotReloadServiceFutureStub
    extends AbstractFutureStub<S>
                        

    A stub to allow clients to do ListenableFuture-style rpc calls to service HotReloadService.

    HotReloadService is for communication between a language plugin a language runtime that can perform a hot reload
    
    • 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
      ListenableFuture<PingResponse> ping(PingRequest request)
      Ping service for readiness.
      
      ListenableFuture<ReloadResponse> reload(ReloadRequest request)
      Forces an explicit Reload from the plugin. This is useful for when the plugin needs to trigger a Reload,
      such as when the Reload context changes.
      
      ListenableFuture<WatchResponse> watch(WatchRequest request)
      Watch for a reload not initiated by an explicit Reload call.
      This is generally used to get the initial state of the runner.
      
      ListenableFuture<RunnerInfoResponse> runnerInfo(RunnerInfoRequest request)
      Invoked by the runner to provide runner information to the plugin.
      
      • 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