public class RocksDBStateDownloader extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
protected ExecutorService |
executorService |
| 构造器和说明 |
|---|
RocksDBStateDownloader(int restoringThreadNum) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
close() |
void |
transferAllStateDataToDirectory(org.apache.flink.runtime.state.IncrementalRemoteKeyedStateHandle restoreStateHandle,
org.apache.flink.core.fs.Path dest,
org.apache.flink.core.fs.CloseableRegistry closeableRegistry)
Transfer all state data to the target directory using specified number of threads.
|
protected final ExecutorService executorService
public void transferAllStateDataToDirectory(org.apache.flink.runtime.state.IncrementalRemoteKeyedStateHandle restoreStateHandle,
org.apache.flink.core.fs.Path dest,
org.apache.flink.core.fs.CloseableRegistry closeableRegistry)
throws Exception
restoreStateHandle - Handles used to retrieve the state data.dest - The target directory which the state data will be stored.Exception - Thrown if can not transfer all the state data.public void close()
close 在接口中 Closeableclose 在接口中 AutoCloseableCopyright © 2014–2019 The Apache Software Foundation. All rights reserved.