public class GrpcStateService
extends org.apache.beam.model.fnexecution.v1.BeamFnStateGrpc.BeamFnStateImplBase
implements org.apache.beam.runners.fnexecution.state.StateDelegator, org.apache.beam.runners.fnexecution.FnService
Modifier and Type | Method and Description |
---|---|
void |
close() |
static GrpcStateService |
create()
Create a new
GrpcStateService . |
org.apache.beam.runners.fnexecution.state.StateDelegator.Registration |
registerForProcessBundleInstructionId(String processBundleInstructionId,
org.apache.beam.runners.fnexecution.state.StateRequestHandler handler) |
org.apache.beam.vendor.grpc.v1p21p0.io.grpc.stub.StreamObserver<org.apache.beam.model.fnexecution.v1.BeamFnApi.StateRequest> |
state(org.apache.beam.vendor.grpc.v1p21p0.io.grpc.stub.StreamObserver<org.apache.beam.model.fnexecution.v1.BeamFnApi.StateResponse> responseObserver) |
bindService
public static GrpcStateService create()
GrpcStateService
.public void close() throws Exception
close
in interface AutoCloseable
close
in interface org.apache.beam.runners.fnexecution.FnService
Exception
public org.apache.beam.vendor.grpc.v1p21p0.io.grpc.stub.StreamObserver<org.apache.beam.model.fnexecution.v1.BeamFnApi.StateRequest> state(org.apache.beam.vendor.grpc.v1p21p0.io.grpc.stub.StreamObserver<org.apache.beam.model.fnexecution.v1.BeamFnApi.StateResponse> responseObserver)
state
in class org.apache.beam.model.fnexecution.v1.BeamFnStateGrpc.BeamFnStateImplBase
public org.apache.beam.runners.fnexecution.state.StateDelegator.Registration registerForProcessBundleInstructionId(String processBundleInstructionId, org.apache.beam.runners.fnexecution.state.StateRequestHandler handler)
registerForProcessBundleInstructionId
in interface org.apache.beam.runners.fnexecution.state.StateDelegator
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.