Class RocksDBStateDataTransferHelper
- java.lang.Object
-
- org.apache.flink.contrib.streaming.state.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 voidclose()static RocksDBStateDataTransferHelperforThreadNum(int threadNum)static RocksDBStateDataTransferHelperforThreadNumIfSpecified(int threadNum, ExecutorService executorService)ExecutorServicegetExecutorService()
-
-
-
Method Detail
-
forThreadNum
public static RocksDBStateDataTransferHelper forThreadNum(int threadNum)
-
forThreadNumIfSpecified
public static RocksDBStateDataTransferHelper forThreadNumIfSpecified(int threadNum, ExecutorService executorService)
-
close
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
getExecutorService
public ExecutorService getExecutorService()
-
-