Package org.apache.flink.state.forst
Class ForStStateRequestClassifier
- java.lang.Object
-
- org.apache.flink.state.forst.ForStStateRequestClassifier
-
- All Implemented Interfaces:
org.apache.flink.runtime.asyncprocessing.StateRequestContainer
public class ForStStateRequestClassifier extends Object implements org.apache.flink.runtime.asyncprocessing.StateRequestContainer
The ForStStateRequestContainerwhich can classify the state requests by ForStDB requestType (Get、Put or Iterator).
-
-
Constructor Summary
Constructors Constructor Description ForStStateRequestClassifier()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisEmpty()voidoffer(org.apache.flink.runtime.asyncprocessing.StateRequest<?,?,?> stateRequest)List<ForStDBGetRequest<?,?>>pollDbGetRequests()List<ForStDBPutRequest<?,?>>pollDbPutRequests()
-
-
-
Method Detail
-
offer
public void offer(org.apache.flink.runtime.asyncprocessing.StateRequest<?,?,?> stateRequest)
- Specified by:
offerin interfaceorg.apache.flink.runtime.asyncprocessing.StateRequestContainer
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfaceorg.apache.flink.runtime.asyncprocessing.StateRequestContainer
-
pollDbGetRequests
public List<ForStDBGetRequest<?,?>> pollDbGetRequests()
-
pollDbPutRequests
public List<ForStDBPutRequest<?,?>> pollDbPutRequests()
-
-