public class ExternalWorkerService extends org.apache.beam.model.fnexecution.v1.BeamFnExternalWorkerPoolGrpc.BeamFnExternalWorkerPoolImplBase implements FnService
| Constructor and Description |
|---|
ExternalWorkerService(PipelineOptions options) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
.
|
void |
notifyRunnerAvailable(org.apache.beam.model.fnexecution.v1.BeamFnApi.NotifyRunnerAvailableRequest request,
org.apache.beam.vendor.grpc.v1p13p1.io.grpc.stub.StreamObserver<org.apache.beam.model.fnexecution.v1.BeamFnApi.NotifyRunnerAvailableResponse> responseObserver) |
GrpcFnServer<ExternalWorkerService> |
start() |
bindServicepublic ExternalWorkerService(PipelineOptions options) throws java.lang.Exception
java.lang.Exceptionpublic void notifyRunnerAvailable(org.apache.beam.model.fnexecution.v1.BeamFnApi.NotifyRunnerAvailableRequest request,
org.apache.beam.vendor.grpc.v1p13p1.io.grpc.stub.StreamObserver<org.apache.beam.model.fnexecution.v1.BeamFnApi.NotifyRunnerAvailableResponse> responseObserver)
notifyRunnerAvailable in class org.apache.beam.model.fnexecution.v1.BeamFnExternalWorkerPoolGrpc.BeamFnExternalWorkerPoolImplBasepublic void close()
FnServiceThere should be no more calls to any service method by the time a call to FnService.close()
begins. Specifically, this means that a Server that this service is bound to should have
completed a call to the Server.shutdown()
method, and all future incoming calls will be rejected.
public GrpcFnServer<ExternalWorkerService> start() throws java.lang.Exception
java.lang.Exception