public class FnApiControlClientPoolService
extends org.apache.beam.model.fnexecution.v1.BeamFnControlGrpc.BeamFnControlImplBase
| Modifier and Type | Method and Description | 
|---|---|
| io.grpc.stub.StreamObserver<org.apache.beam.model.fnexecution.v1.BeamFnApi.InstructionResponse> | control(io.grpc.stub.StreamObserver<org.apache.beam.model.fnexecution.v1.BeamFnApi.InstructionRequest> requestObserver)Called by gRPC for each incoming connection from an SDK harness, and enqueue an available SDK
 harness client. | 
| static FnApiControlClientPoolService | offeringClientsToPool(java.util.concurrent.BlockingQueue<org.apache.beam.runners.fnexecution.control.FnApiControlClient> clientPool)Creates a new  FnApiControlClientPoolServicewhich will enqueue and vend new SDK harness
 connections. | 
public static FnApiControlClientPoolService offeringClientsToPool(java.util.concurrent.BlockingQueue<org.apache.beam.runners.fnexecution.control.FnApiControlClient> clientPool)
FnApiControlClientPoolService which will enqueue and vend new SDK harness
 connections.public io.grpc.stub.StreamObserver<org.apache.beam.model.fnexecution.v1.BeamFnApi.InstructionResponse> control(io.grpc.stub.StreamObserver<org.apache.beam.model.fnexecution.v1.BeamFnApi.InstructionRequest> requestObserver)
Note: currently does not distinguish what sort of SDK it is, so a separate instance is required for each.
control in class org.apache.beam.model.fnexecution.v1.BeamFnControlGrpc.BeamFnControlImplBase