Package org.apache.flink.state.rocksdb
Class RocksDBStateDataTransferHelper
- java.lang.Object
-
- org.apache.flink.state.rocksdb.RocksDBStateDataTransferHelper
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
public final class RocksDBStateDataTransferHelper extends Object implements Closeable
Data transfer helper forRocksDBKeyedStateBackend
.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
static RocksDBStateDataTransferHelper
forExecutor(ExecutorService executorService)
static RocksDBStateDataTransferHelper
forThreadNum(int threadNum)
static RocksDBStateDataTransferHelper
forThreadNumIfSpecified(int threadNum, ExecutorService executorService)
ExecutorService
getExecutorService()
-
-
-
Method Detail
-
forThreadNum
public static RocksDBStateDataTransferHelper forThreadNum(int threadNum)
-
forExecutor
public static RocksDBStateDataTransferHelper forExecutor(ExecutorService executorService)
-
forThreadNumIfSpecified
public static RocksDBStateDataTransferHelper forThreadNumIfSpecified(int threadNum, ExecutorService executorService)
-
close
public void close() throws IOException
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-
getExecutorService
public ExecutorService getExecutorService()
-
-