|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.mat.ibmvm.acquire.BaseProvider
org.eclipse.mat.ibmvm.acquire.IBMDumpProvider
public class IBMDumpProvider
Base class for generating dumps on IBM VMs. This class requires an IBM VM to compile. A precompiled version of this class exists in the classes folder.
Field Summary |
---|
Fields inherited from class org.eclipse.mat.ibmvm.acquire.BaseProvider |
---|
defaultCompress, defaultType, heapDumpTemplate, heapDumpZipTemplate, javaDumpTemplate, systemDumpTemplate, systemDumpZipTemplate |
Method Summary | |
---|---|
java.io.File |
acquireDump(VmInfo info,
java.io.File preferredLocation,
IProgressListener listener)
Acquire a heap dump from a locally running Java process. |
java.util.List<IBMVmInfo> |
getAvailableVMs(IProgressListener listener)
Returns a list of locally running Java processes from which the heap dump provider can attempt to acquire a heap dump |
static void |
main(java.lang.String[] s)
Lists VMs or acquires a dump. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public java.io.File acquireDump(VmInfo info, java.io.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 listener
SnapshotException
public java.util.List<IBMVmInfo> getAvailableVMs(IProgressListener listener)
IHeapDumpProvider
listener
- a progress listener
VmInfo
.IHeapDumpProvider.getAvailableVMs(org.eclipse.mat.util.IProgressListener)
public static void main(java.lang.String[] s) throws java.lang.Exception
s
- java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |