javax.tools.diagnostics.vm.spi.delegates
Class AbstractIBMSPIBasedDumpInitiatorDelegate
java.lang.Object
javax.tools.diagnostics.vm.spi.delegates.AbstractIBMSPIBasedDumpInitiatorDelegate
- All Implemented Interfaces:
- DumpInitiatorDelegate
- Direct Known Subclasses:
- IBMSPIBasedHeapDumpDelegate, IBMSPIBasedSystemDumpDelegate
public abstract class AbstractIBMSPIBasedDumpInitiatorDelegate
- extends java.lang.Object
- implements DumpInitiatorDelegate
Dump Delegate for IBM JVMs using the com.ibm.jvm.Dump API Note that
reflection is used to trigger a dump as otherwise compilation of this
code would be dependent on having an IBM JVM.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractIBMSPIBasedDumpInitiatorDelegate
public AbstractIBMSPIBasedDumpInitiatorDelegate()
available
public boolean available()
- Description copied from interface:
DumpInitiatorDelegate
- Called to check that the delegate has all available resources
to proceed.
This method should only be called by the Dump class
This method will always be called before the first call to
dump
- Specified by:
available
in interface DumpInitiatorDelegate
- Returns:
- true if the delegate is available
getMethodName
protected abstract java.lang.String getMethodName()
createDumpHandle
public DumpHandle createDumpHandle()
- Description copied from interface:
DumpInitiatorDelegate
- Returns a Dump handle for a default configured dump
- Specified by:
createDumpHandle
in interface DumpInitiatorDelegate
- Returns:
- valid dump handle
createDumpHandle
public DumpHandle createDumpHandle(DumpDescriptor descriptor)
- Description copied from interface:
DumpInitiatorDelegate
- Returns a Dump handle for a dump that will match the provided
descriptor on a "best can do" basis.
- Specified by:
createDumpHandle
in interface DumpInitiatorDelegate
- Returns:
- valid dump handle
Copyright © 2010. All Rights Reserved.