Interface HotReloadServiceGrpc.AsyncService

  • All Implemented Interfaces:

    
    public interface HotReloadServiceGrpc.AsyncService
    
                        
    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
    • 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.
      
      void reload(ReloadRequest request, StreamObserver<ReloadResponse> responseObserver)
      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.
      
      void watch(WatchRequest request, StreamObserver<WatchResponse> responseObserver)
      Watch for a reload not initiated by an explicit Reload call.
      This is generally used to get the initial state of the runner.
      
      void runnerInfo(RunnerInfoRequest request, StreamObserver<RunnerInfoResponse> responseObserver)
      Invoked by the runner to provide runner information to the plugin.
      
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • reload

         void reload(ReloadRequest request, StreamObserver<ReloadResponse> responseObserver)
        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.
        
      • watch

         void watch(WatchRequest request, StreamObserver<WatchResponse> responseObserver)
        Watch for a reload not initiated by an explicit Reload call.
        This is generally used to get the initial state of the runner.