Class FileDownloader
- java.lang.Object
-
- org.apache.ignite.internal.processors.cache.persistence.file.FileDownloader
-
public class FileDownloader extends Object
Part of direct node to node file downloading
-
-
Constructor Summary
Constructors Constructor Description FileDownloader(IgniteLogger log, Path path)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddownload()IgniteInternalFuture<Void>finishFuture()voidonResult(long size, Throwable th)InetSocketAddressstart()
-
-
-
Constructor Detail
-
FileDownloader
public FileDownloader(IgniteLogger log, Path path)
-
-
Method Detail
-
finishFuture
public IgniteInternalFuture<Void> finishFuture()
- Returns:
- Download finish future.
-
start
public InetSocketAddress start() throws IgniteCheckedException
- Throws:
IgniteCheckedException
-
download
public void download()
-
onResult
public void onResult(long size, Throwable th)
-
-