public class RocksDBStateDownloader extends Object
| Modifier and Type | Field and Description |
|---|---|
protected ExecutorService |
executorService |
| Constructor and Description |
|---|
RocksDBStateDownloader(int restoringThreadNum,
org.apache.flink.runtime.state.StateBackend.CustomInitializationMetrics customInitializationMetrics) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
transferAllStateDataToDirectory(Collection<StateHandleDownloadSpec> downloadRequests,
org.apache.flink.core.fs.CloseableRegistry closeableRegistry)
Transfer all state data to the target directory, as specified in the download requests.
|
protected final ExecutorService executorService
public RocksDBStateDownloader(int restoringThreadNum,
org.apache.flink.runtime.state.StateBackend.CustomInitializationMetrics customInitializationMetrics)
public void transferAllStateDataToDirectory(Collection<StateHandleDownloadSpec> downloadRequests, org.apache.flink.core.fs.CloseableRegistry closeableRegistry) throws Exception
downloadRequests - the list of downloads.Exception - If anything about the download goes wrong.public void close()
close in interface Closeableclose in interface AutoCloseableCopyright © 2014–2025 The Apache Software Foundation. All rights reserved.