@Internal
public interface StateExecutor
StateRequests.
Notice that the owner who create the StateExecutor is responsible for shutting down it
when it is no longer in use.
| Modifier and Type | Method and Description |
|---|---|
StateRequestContainer |
createStateRequestContainer()
Create a
StateRequestContainer which is used to hold the batched StateRequest. |
CompletableFuture<Void> |
executeBatchRequests(StateRequestContainer stateRequestContainer)
Execute a batch of state requests.
|
void |
shutdown()
Shutdown the StateExecutor, and new committed state execution requests will be rejected.
|
CompletableFuture<Void> executeBatchRequests(StateRequestContainer stateRequestContainer)
stateRequestContainer - The StateRequestContainer which holds the given batch of
processing requests.StateRequestContainer createStateRequestContainer()
StateRequestContainer which is used to hold the batched StateRequest.void shutdown()
Copyright © 2014–2025 The Apache Software Foundation. All rights reserved.