Package xyz.block.ftl.v1
Class ModuleServiceGrpc.ModuleServiceStub
-
- All Implemented Interfaces:
public final class ModuleServiceGrpc.ModuleServiceStub extends AbstractAsyncStub<S>A stub to allow clients to do asynchronous rpc calls to service ModuleService.
ModuleService is the service that modules use to interact with the Controller.
-
-
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.voidgetModuleContext(ModuleContextRequest request, StreamObserver<ModuleContextResponse> responseObserver)Get configuration state for the moduleStreamObserver<AcquireLeaseRequest>acquireLease(StreamObserver<AcquireLeaseResponse> responseObserver)Acquire (and renew) a lease for a deployment. Returns ResourceExhausted if the lease is held.voidpublishEvent(PublishEventRequest request, StreamObserver<PublishEventResponse> responseObserver)Publish an event to a topic.-
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.
-
getModuleContext
void getModuleContext(ModuleContextRequest request, StreamObserver<ModuleContextResponse> responseObserver)
Get configuration state for the module
-
acquireLease
StreamObserver<AcquireLeaseRequest> acquireLease(StreamObserver<AcquireLeaseResponse> responseObserver)
Acquire (and renew) a lease for a deployment. Returns ResourceExhausted if the lease is held.
-
publishEvent
void publishEvent(PublishEventRequest request, StreamObserver<PublishEventResponse> responseObserver)
Publish an event to a topic.
-
-
-
-