public interface BeamFnStateClient
BeamFnStateClient is able to forward state requests to a handler which returns a
corresponding response or error if completed unsuccessfully.| Modifier and Type | Method and 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.
|
java.util.concurrent.CompletableFuture<org.apache.beam.model.fnexecution.v1.BeamFnApi.StateResponse> handle(org.apache.beam.model.fnexecution.v1.BeamFnApi.StateRequest.Builder requestBuilder)
requestBuilder - A partially completed state request. The id will be populated the client.