Class GrpcStateService
java.lang.Object
org.apache.beam.model.fnexecution.v1.BeamFnStateGrpc.BeamFnStateImplBase
org.apache.beam.runners.fnexecution.state.GrpcStateService
- All Implemented Interfaces:
AutoCloseable,org.apache.beam.model.fnexecution.v1.BeamFnStateGrpc.AsyncService,org.apache.beam.runners.fnexecution.state.StateDelegator,org.apache.beam.sdk.fn.server.FnService,org.apache.beam.vendor.grpc.v1p60p1.io.grpc.BindableService
public class GrpcStateService
extends org.apache.beam.model.fnexecution.v1.BeamFnStateGrpc.BeamFnStateImplBase
implements org.apache.beam.runners.fnexecution.state.StateDelegator, org.apache.beam.sdk.fn.server.FnService
An implementation of the Beam Fn State service.
-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()static GrpcStateServicecreate()Create a newGrpcStateService.org.apache.beam.runners.fnexecution.state.StateDelegator.RegistrationregisterForProcessBundleInstructionId(String processBundleInstructionId, org.apache.beam.runners.fnexecution.state.StateRequestHandler handler) org.apache.beam.vendor.grpc.v1p60p1.io.grpc.stub.StreamObserver<org.apache.beam.model.fnexecution.v1.BeamFnApi.StateRequest>state(org.apache.beam.vendor.grpc.v1p60p1.io.grpc.stub.StreamObserver<org.apache.beam.model.fnexecution.v1.BeamFnApi.StateResponse> responseObserver) Methods inherited from class org.apache.beam.model.fnexecution.v1.BeamFnStateGrpc.BeamFnStateImplBase
bindServiceMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.beam.vendor.grpc.v1p60p1.io.grpc.BindableService
bindService
-
Method Details
-
create
Create a newGrpcStateService. -
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceorg.apache.beam.sdk.fn.server.FnService- Throws:
Exception
-
state
public org.apache.beam.vendor.grpc.v1p60p1.io.grpc.stub.StreamObserver<org.apache.beam.model.fnexecution.v1.BeamFnApi.StateRequest> state(org.apache.beam.vendor.grpc.v1p60p1.io.grpc.stub.StreamObserver<org.apache.beam.model.fnexecution.v1.BeamFnApi.StateResponse> responseObserver) - Specified by:
statein interfaceorg.apache.beam.model.fnexecution.v1.BeamFnStateGrpc.AsyncService
-
registerForProcessBundleInstructionId
public org.apache.beam.runners.fnexecution.state.StateDelegator.Registration registerForProcessBundleInstructionId(String processBundleInstructionId, org.apache.beam.runners.fnexecution.state.StateRequestHandler handler) - Specified by:
registerForProcessBundleInstructionIdin interfaceorg.apache.beam.runners.fnexecution.state.StateDelegator
-