public class RocksDBStateDownloader extends Object implements Closeable
| Constructor and Description |
|---|
RocksDBStateDownloader(int restoringThreadNum) |
RocksDBStateDownloader(RocksDBStateDataTransferHelper transfer) |
| 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.
|
@VisibleForTesting public RocksDBStateDownloader(int restoringThreadNum)
public RocksDBStateDownloader(RocksDBStateDataTransferHelper transfer)
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()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2014–2025 The Apache Software Foundation. All rights reserved.