public class StaticGrpcProvisionService extends org.apache.beam.model.fnexecution.v1.ProvisionServiceGrpc.ProvisionServiceImplBase implements FnService
provision service
that returns a static response to all calls.Modifier and Type | Method and Description |
---|---|
void |
close()
.
|
static StaticGrpcProvisionService |
create(org.apache.beam.model.fnexecution.v1.ProvisionApi.ProvisionInfo info) |
void |
getProvisionInfo(org.apache.beam.model.fnexecution.v1.ProvisionApi.GetProvisionInfoRequest request,
org.apache.beam.vendor.grpc.v1_13_1.io.grpc.stub.StreamObserver<org.apache.beam.model.fnexecution.v1.ProvisionApi.GetProvisionInfoResponse> responseObserver) |
bindService
public static StaticGrpcProvisionService create(org.apache.beam.model.fnexecution.v1.ProvisionApi.ProvisionInfo info)
public void getProvisionInfo(org.apache.beam.model.fnexecution.v1.ProvisionApi.GetProvisionInfoRequest request, org.apache.beam.vendor.grpc.v1_13_1.io.grpc.stub.StreamObserver<org.apache.beam.model.fnexecution.v1.ProvisionApi.GetProvisionInfoResponse> responseObserver)
getProvisionInfo
in class org.apache.beam.model.fnexecution.v1.ProvisionServiceGrpc.ProvisionServiceImplBase
public void close() throws java.lang.Exception
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.