Package org.openspaces.admin.dump
Interface DumpResult
- All Known Implementing Classes:
CompoundDumpResult,InternalDumpResult
public interface DumpResult
A results of a dump operation. Allows to download the dump into a specific file.
- Author:
- kimchy
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoiddownload(File targetDirectory, String fileName, DumpDownloadListener listener) Downloads the dump into the target file.voiddownload(File target, DumpDownloadListener listener) Downloads the dump into the target file.voiddownload(ZipOutputStream zos, DumpDownloadListener listener) DOnwload the dump to already created ZipOutputStreamlongThe download size of the dump.getName()The name of the dump.
-
Method Details
-
getName
String getName()The name of the dump. -
downloadSize
long downloadSize()The download size of the dump. -
download
Downloads the dump into the target file. Allowing to provide a listener to track the downloading process.- Throws:
AdminException
-
download
void download(File targetDirectory, String fileName, DumpDownloadListener listener) throws AdminException Downloads the dump into the target file. Allowing to provide a listener to track the downloading process.- Throws:
AdminException
-
download
DOnwload the dump to already created ZipOutputStream- Throws:
IOException
-