Interface StateRequestContainer
-
public interface StateRequestContainerA container which is used to holdStateRequests. The role ofStateRequestContaineris to serve as an intermediary carrier for data transmission between the runtime layer and the state layer. It stores the stateRequest from the runtime layer, which is then processed by the state layer.Notice that the
StateRequestContainermay not be thread-safe.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisEmpty()Returns whether the container is empty.voidoffer(StateRequest<?,?,?,?> stateRequest)Preserve a stateRequest into theStateRequestContainer.
-
-
-
Method Detail
-
offer
void offer(StateRequest<?,?,?,?> stateRequest)
Preserve a stateRequest into theStateRequestContainer.
-
isEmpty
boolean isEmpty()
Returns whether the container is empty.
-
-