Package org.apache.beam.fn.harness.state
Interface BeamFnStateClient
-
public interface BeamFnStateClientTheBeamFnStateClientis able to forward state requests to a handler which returns a corresponding response or error if completed unsuccessfully.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.concurrent.CompletableFuture<org.apache.beam.model.fnexecution.v1.BeamFnApi.StateResponse>handle(org.apache.beam.model.fnexecution.v1.BeamFnApi.StateRequest.Builder requestBuilder)Consumes a state request populating a unique id returning a future to the response.
-
-
-
Method Detail
-
handle
java.util.concurrent.CompletableFuture<org.apache.beam.model.fnexecution.v1.BeamFnApi.StateResponse> handle(org.apache.beam.model.fnexecution.v1.BeamFnApi.StateRequest.Builder requestBuilder)
Consumes a state request populating a unique id returning a future to the response.- Parameters:
requestBuilder- A partially completed state request. The id will be populated the client.
-
-