Package org.apache.flink.state.forst
Class ForStStateExecutor
- java.lang.Object
-
- org.apache.flink.state.forst.ForStStateExecutor
-
- All Implemented Interfaces:
org.apache.flink.runtime.asyncprocessing.AsyncExecutor<org.apache.flink.runtime.asyncprocessing.StateRequest<?,?,?,?>>,org.apache.flink.runtime.asyncprocessing.StateExecutor
public class ForStStateExecutor extends Object implements org.apache.flink.runtime.asyncprocessing.StateExecutor
TheStateExecutorimplementation which executing batchStateRequests for ForStStateBackend.
-
-
Constructor Summary
Constructors Constructor Description ForStStateExecutor(boolean coordinatorInline, boolean isWriteInline, int readIoParallelism, int writeIoParallelism, org.forstdb.RocksDB db, org.forstdb.WriteOptions writeOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.flink.runtime.asyncprocessing.AsyncRequestContainer<org.apache.flink.runtime.asyncprocessing.StateRequest<?,?,?,?>>createRequestContainer()CompletableFuture<Void>executeBatchRequests(org.apache.flink.runtime.asyncprocessing.AsyncRequestContainer asyncRequestContainer)voidexecuteRequestSync(org.apache.flink.runtime.asyncprocessing.StateRequest<?,?,?,?> stateRequest)booleanfullyLoaded()voidshutdown()
-
-
-
Method Detail
-
executeBatchRequests
public CompletableFuture<Void> executeBatchRequests(org.apache.flink.runtime.asyncprocessing.AsyncRequestContainer asyncRequestContainer)
- Specified by:
executeBatchRequestsin interfaceorg.apache.flink.runtime.asyncprocessing.AsyncExecutor<org.apache.flink.runtime.asyncprocessing.StateRequest<?,?,?,?>>
-
createRequestContainer
public org.apache.flink.runtime.asyncprocessing.AsyncRequestContainer<org.apache.flink.runtime.asyncprocessing.StateRequest<?,?,?,?>> createRequestContainer()
- Specified by:
createRequestContainerin interfaceorg.apache.flink.runtime.asyncprocessing.AsyncExecutor<org.apache.flink.runtime.asyncprocessing.StateRequest<?,?,?,?>>
-
executeRequestSync
public void executeRequestSync(org.apache.flink.runtime.asyncprocessing.StateRequest<?,?,?,?> stateRequest)
- Specified by:
executeRequestSyncin interfaceorg.apache.flink.runtime.asyncprocessing.AsyncExecutor<org.apache.flink.runtime.asyncprocessing.StateRequest<?,?,?,?>>
-
fullyLoaded
public boolean fullyLoaded()
- Specified by:
fullyLoadedin interfaceorg.apache.flink.runtime.asyncprocessing.AsyncExecutor<org.apache.flink.runtime.asyncprocessing.StateRequest<?,?,?,?>>
-
shutdown
public void shutdown()
- Specified by:
shutdownin interfaceorg.apache.flink.runtime.asyncprocessing.AsyncExecutor<org.apache.flink.runtime.asyncprocessing.StateRequest<?,?,?,?>>
-
-