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.runners.fnexecution.state.StateDelegator
,org.apache.beam.sdk.fn.server.FnService
,org.apache.beam.vendor.grpc.v1p48p1.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
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
static GrpcStateService
create()
Create a newGrpcStateService
.org.apache.beam.runners.fnexecution.state.StateDelegator.Registration
registerForProcessBundleInstructionId(String processBundleInstructionId, org.apache.beam.runners.fnexecution.state.StateRequestHandler handler)
org.apache.beam.vendor.grpc.v1p48p1.io.grpc.stub.StreamObserver<org.apache.beam.model.fnexecution.v1.BeamFnApi.StateRequest>
state(org.apache.beam.vendor.grpc.v1p48p1.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
bindService
-
-
-
-
Method Detail
-
create
public static GrpcStateService create()
Create a newGrpcStateService
.
-
close
public void close() throws Exception
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceorg.apache.beam.sdk.fn.server.FnService
- Throws:
Exception
-
state
public org.apache.beam.vendor.grpc.v1p48p1.io.grpc.stub.StreamObserver<org.apache.beam.model.fnexecution.v1.BeamFnApi.StateRequest> state(org.apache.beam.vendor.grpc.v1p48p1.io.grpc.stub.StreamObserver<org.apache.beam.model.fnexecution.v1.BeamFnApi.StateResponse> responseObserver)
- Overrides:
state
in classorg.apache.beam.model.fnexecution.v1.BeamFnStateGrpc.BeamFnStateImplBase
-
registerForProcessBundleInstructionId
public org.apache.beam.runners.fnexecution.state.StateDelegator.Registration registerForProcessBundleInstructionId(String processBundleInstructionId, org.apache.beam.runners.fnexecution.state.StateRequestHandler handler)
- Specified by:
registerForProcessBundleInstructionId
in interfaceorg.apache.beam.runners.fnexecution.state.StateDelegator
-
-