Class InternalDumpResult
java.lang.Object
org.openspaces.admin.internal.dump.InternalDumpResult
- All Implemented Interfaces:
DumpResult
- Author:
- kimchy
-
Constructor Summary
ConstructorsConstructorDescriptionInternalDumpResult(DumpProvider dumpProvider, InternalDumpProvider internalDumpProvider, InternalDumpResult internalResult) -
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.
-
Constructor Details
-
InternalDumpResult
public InternalDumpResult(DumpProvider dumpProvider, InternalDumpProvider internalDumpProvider, InternalDumpResult internalResult)
-
-
Method Details
-
getName
Description copied from interface:DumpResultThe name of the dump.- Specified by:
getNamein interfaceDumpResult
-
downloadSize
public long downloadSize()Description copied from interface:DumpResultThe download size of the dump.- Specified by:
downloadSizein interfaceDumpResult
-
download
Description copied from interface:DumpResultDOnwload the dump to already created ZipOutputStream- Specified by:
downloadin interfaceDumpResult- Throws:
IOException
-
getHeapReportJson
-
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
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
-