Package xyz.block.ftl.hotreload.v1
Class HotReloadServiceGrpc.HotReloadServiceStub
-
- All Implemented Interfaces:
public final class HotReloadServiceGrpc.HotReloadServiceStub extends AbstractAsyncStub<S>A stub to allow clients to do asynchronous 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 voidping(PingRequest request, StreamObserver<PingResponse> responseObserver)Ping service for readiness.voidreload(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.voidwatch(WatchRequest request, StreamObserver<WatchResponse> responseObserver)Watch for hot reloads not initiated by an explicit Reload call.voidrunnerInfo(RunnerInfoRequest request, StreamObserver<RunnerInfoResponse> responseObserver)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.AbstractAsyncStub
newStub -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
ping
void ping(PingRequest request, StreamObserver<PingResponse> responseObserver)
Ping service for readiness.
-
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 hot reloads not initiated by an explicit Reload call.
-
runnerInfo
void runnerInfo(RunnerInfoRequest request, StreamObserver<RunnerInfoResponse> responseObserver)
Invoked by the runner to provide runner information to the plugin.
-
-
-
-