GigaSpaces XAP 10.0.1 API

org.openspaces.admin.dump
Class CompoundDumpResult

java.lang.Object
  extended by org.openspaces.admin.dump.CompoundDumpResult
All Implemented Interfaces:
DumpResult

public class CompoundDumpResult
extends Object
implements DumpResult

A dump results that holds one or more Dump results.

Author:
kimchy

Constructor Summary
CompoundDumpResult()
           
 
Method Summary
 CompoundDumpResult add(DumpResult dumpResult)
           
 void download(File target, DumpDownloadListener listener)
          Downloads the dump into the target file.
 void download(File targetDirectory, String fileName, DumpDownloadListener listener)
          Downloads the dump into the target file.
 long downloadSize()
          The download size of the dump.
 String getName()
          The name of the dump.
 DumpResult[] getResults()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompoundDumpResult

public CompoundDumpResult()
Method Detail

add

public CompoundDumpResult add(DumpResult dumpResult)

getName

public String getName()
Description copied from interface: DumpResult
The name of the dump.

Specified by:
getName in interface DumpResult

getResults

public DumpResult[] getResults()

downloadSize

public long downloadSize()
Description copied from interface: DumpResult
The download size of the dump.

Specified by:
downloadSize in interface DumpResult

download

public void download(File targetDirectory,
                     String fileName,
                     DumpDownloadListener listener)
              throws AdminException
Description copied from interface: DumpResult
Downloads the dump into the target file. Allowing to provide a listener to track the downloading process.

Specified by:
download in interface DumpResult
Throws:
AdminException

download

public void download(File target,
                     DumpDownloadListener listener)
              throws AdminException
Description copied from interface: DumpResult
Downloads the dump into the target file. Allowing to provide a listener to track the downloading process.

Specified by:
download in interface DumpResult
Throws:
AdminException

GigaSpaces XAP 10.0.1 API

Copyright © GigaSpaces.