DownloadFileManager¶
DownloadFileManager is an abstraction of file managers that can createTempFile and registerTempFileToClean.
Contract¶
createTempFile¶
Used when:
DownloadCallback(of OneForOneBlockFetcher) is created
registerTempFileToClean¶
Used when:
DownloadCallback(of OneForOneBlockFetcher) is requested toonComplete
Implementations¶
- RemoteBlockDownloadFileManager
- ShuffleBlockFetcherIterator