Package xyz.block.ftl.hotreload.v1
Interface HotReloadServiceGrpc.AsyncService
-
- All Implemented Interfaces:
public interface HotReloadServiceGrpc.AsyncServiceHotReloadService is for communication between a language plugin a language runtime that can perform a hot reload
-
-
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 a reload not initiated by an explicit Reload call. This is generally used to get the initial state of the runner.voidrunnerInfo(RunnerInfoRequest request, StreamObserver<RunnerInfoResponse> responseObserver)Invoked by the runner to provide runner information to the plugin.-
-
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 a reload not initiated by an explicit Reload call. This is generally used to get the initial state of the runner.
-
runnerInfo
void runnerInfo(RunnerInfoRequest request, StreamObserver<RunnerInfoResponse> responseObserver)
Invoked by the runner to provide runner information to the plugin.
-
-
-
-