public class IBMExecDumpProvider extends BaseProvider
Modifier and Type | Field and Description |
---|---|
File |
javaexecutable |
String[] |
vmoptions |
defaultCompress, defaultType, heapDumpTemplate, heapDumpZipTemplate, javaDumpTemplate, listAttach, systemDumpTemplate, systemDumpZipTemplate
Constructor and Description |
---|
IBMExecDumpProvider() |
Modifier and Type | Method and Description |
---|---|
File |
acquireDump(VmInfo info,
File preferredLocation,
IProgressListener listener)
Acquire a heap dump from a locally running Java process.
|
List<VmInfo> |
getAvailableVMs(IProgressListener listener)
Returns a list of locally running Java processes from which the heap dump
provider can attempt to acquire a heap dump
|
public File acquireDump(VmInfo info, File preferredLocation, IProgressListener listener) throws SnapshotException
IHeapDumpProvider
info
- a descriptor of the Java process which should be dumpedpreferredLocation
- a preferred filename under which the heap dump should be
saved. The IHeapDumpProvider
is not obliged to provide
the heap dump at this locationlistener
- a progress listenerSnapshotException
public List<VmInfo> getAvailableVMs(IProgressListener listener)
IHeapDumpProvider
listener
- a progress listenerVmInfo
.