Package xyz.block.ftl.hotreload.v1
Class HotReloadServiceGrpc.HotReloadServiceBlockingStub
-
- All Implemented Interfaces:
public final class HotReloadServiceGrpc.HotReloadServiceBlockingStub extends AbstractBlockingStub<S>A stub to allow clients to do synchronous rpc calls to service HotReloadService.
HotReloadService is for communication between a language plugin a language runtime that can perform a hot reload
-
-
Field Summary
Fields Modifier and Type Field Description public final Channelchannelpublic final CallOptionscallOptions
-
Method Summary
Modifier and Type Method Description PingResponseping(PingRequest request)Ping service for readiness.ReloadResponsereload(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.WatchResponsewatch(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.RunnerInfoResponserunnerInfo(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.AbstractBlockingStub
newStub -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
ping
PingResponse ping(PingRequest request)
Ping service for readiness.
-
reload
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.
-
watch
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.
-
runnerInfo
RunnerInfoResponse runnerInfo(RunnerInfoRequest request)
Invoked by the runner to provide runner information to the plugin.
-
-
-
-