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() |
bindService
public ExternalWorkerService(PipelineOptions options)
public 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.BeamFnExternalWorkerPoolImplBase
public void close()
FnService
There 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