Package org.openspaces.admin.dump
Class CompoundDumpResult
java.lang.Object
org.openspaces.admin.dump.CompoundDumpResult
- All Implemented Interfaces:
DumpResult
A dump results that holds one or more Dump results.
- Author:
- kimchy
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadd(DumpResult dumpResult) voidaddDumpFile(File file) voiddownload(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.
-
Constructor Details
-
CompoundDumpResult
public CompoundDumpResult()
-
-
Method Details
-
add
-
getName
Description copied from interface:DumpResultThe name of the dump.- Specified by:
getNamein interfaceDumpResult
-
getResults
-
downloadSize
public long downloadSize()Description copied from interface:DumpResultThe download size of the dump.- Specified by:
downloadSizein interfaceDumpResult
-
download
public void download(File targetDirectory, String fileName, DumpDownloadListener listener) throws AdminException Description copied from interface:DumpResultDownloads the dump into the target file. Allowing to provide a listener to track the downloading process.- Specified by:
downloadin interfaceDumpResult- Throws:
AdminException
-
download
Description copied from interface:DumpResultDownloads the dump into the target file. Allowing to provide a listener to track the downloading process.- Specified by:
downloadin interfaceDumpResult- Throws:
AdminException
-
download
Description copied from interface:DumpResultDOnwload the dump to already created ZipOutputStream- Specified by:
downloadin interfaceDumpResult- Throws:
IOException
-
addDumpFile
-