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()
.
|
GrpcFnServer<ExternalWorkerService> |
start() |
void |
startWorker(org.apache.beam.model.fnexecution.v1.BeamFnApi.StartWorkerRequest request,
org.apache.beam.vendor.grpc.v1p21p0.io.grpc.stub.StreamObserver<org.apache.beam.model.fnexecution.v1.BeamFnApi.StartWorkerResponse> responseObserver) |
bindService, stopWorker
public ExternalWorkerService(PipelineOptions options)
public void startWorker(org.apache.beam.model.fnexecution.v1.BeamFnApi.StartWorkerRequest request, org.apache.beam.vendor.grpc.v1p21p0.io.grpc.stub.StreamObserver<org.apache.beam.model.fnexecution.v1.BeamFnApi.StartWorkerResponse> responseObserver)
startWorker
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