Class RocksDBStateDownloader

    • Constructor Detail

      • RocksDBStateDownloader

        @VisibleForTesting
        public RocksDBStateDownloader​(int restoringThreadNum)
    • Method Detail

      • transferAllStateDataToDirectory

        public void transferAllStateDataToDirectory​(Collection<StateHandleDownloadSpec> downloadRequests,
                                                    org.apache.flink.core.fs.ICloseableRegistry closeableRegistry)
                                             throws Exception
        Transfer all state data to the target directory, as specified in the download requests.
        Parameters:
        downloadRequests - the list of downloads.
        Throws:
        Exception - If anything about the download goes wrong.