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.StateExecutor
public class ForStStateExecutor
extends Object
implements org.apache.flink.runtime.asyncprocessing.StateExecutor
The
StateExecutor implementation which executing batch StateRequests for
ForStStateBackend.-
Constructor Summary
ConstructorsConstructorDescriptionForStStateExecutor(boolean coordinatorInline, boolean isWriteInline, int readIoParallelism, int writeIoParallelism, org.forstdb.RocksDB db, org.forstdb.WriteOptions writeOptions) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.flink.runtime.asyncprocessing.StateRequestContainerexecuteBatchRequests(org.apache.flink.runtime.asyncprocessing.StateRequestContainer stateRequestContainer) voidexecuteRequestSync(org.apache.flink.runtime.asyncprocessing.StateRequest<?, ?, ?, ?> stateRequest) booleanvoidshutdown()
-
Constructor Details
-
ForStStateExecutor
public ForStStateExecutor(boolean coordinatorInline, boolean isWriteInline, int readIoParallelism, int writeIoParallelism, org.forstdb.RocksDB db, org.forstdb.WriteOptions writeOptions)
-
-
Method Details
-
executeBatchRequests
public CompletableFuture<Void> executeBatchRequests(org.apache.flink.runtime.asyncprocessing.StateRequestContainer stateRequestContainer) - Specified by:
executeBatchRequestsin interfaceorg.apache.flink.runtime.asyncprocessing.StateExecutor
-
createStateRequestContainer
public org.apache.flink.runtime.asyncprocessing.StateRequestContainer createStateRequestContainer()- Specified by:
createStateRequestContainerin interfaceorg.apache.flink.runtime.asyncprocessing.StateExecutor
-
executeRequestSync
public void executeRequestSync(org.apache.flink.runtime.asyncprocessing.StateRequest<?, ?, ?, ?> stateRequest) - Specified by:
executeRequestSyncin interfaceorg.apache.flink.runtime.asyncprocessing.StateExecutor
-
fullyLoaded
public boolean fullyLoaded()- Specified by:
fullyLoadedin interfaceorg.apache.flink.runtime.asyncprocessing.StateExecutor
-
shutdown
public void shutdown()- Specified by:
shutdownin interfaceorg.apache.flink.runtime.asyncprocessing.StateExecutor
-