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 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:
      executeBatchRequests in interface org.apache.flink.runtime.asyncprocessing.StateExecutor
    • createStateRequestContainer

      public org.apache.flink.runtime.asyncprocessing.StateRequestContainer createStateRequestContainer()
      Specified by:
      createStateRequestContainer in interface org.apache.flink.runtime.asyncprocessing.StateExecutor
    • executeRequestSync

      public void executeRequestSync(org.apache.flink.runtime.asyncprocessing.StateRequest<?,?,?,?> stateRequest)
      Specified by:
      executeRequestSync in interface org.apache.flink.runtime.asyncprocessing.StateExecutor
    • fullyLoaded

      public boolean fullyLoaded()
      Specified by:
      fullyLoaded in interface org.apache.flink.runtime.asyncprocessing.StateExecutor
    • shutdown

      public void shutdown()
      Specified by:
      shutdown in interface org.apache.flink.runtime.asyncprocessing.StateExecutor