javax.tools.diagnostics.vm.spi.delegates
Class AbstractSignalBasedDumpInitiatorDelegate

java.lang.Object
  extended by javax.tools.diagnostics.vm.spi.delegates.AbstractSignalBasedDumpInitiatorDelegate
All Implemented Interfaces:
DumpInitiatorDelegate
Direct Known Subclasses:
HProfSignalTriggeredDumpDelegate

public abstract class AbstractSignalBasedDumpInitiatorDelegate
extends java.lang.Object
implements DumpInitiatorDelegate

Signal based Dump Initiator relies on the presence of org.apache.kato.common142.DumpTrigger in the class path


Constructor Summary
AbstractSignalBasedDumpInitiatorDelegate()
           
 
Method Summary
 boolean available()
          Called to check that the delegate has all available resources to proceed.
 DumpHandle createDumpHandle()
          Returns a Dump handle for a default configured dump
 DumpHandle createDumpHandle(DumpDescriptor descriptor)
          Returns a Dump handle for a dump that will match the provided descriptor on a "best can do" basis.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.tools.diagnostics.vm.DumpInitiatorDelegate
getCapabilities, getDumpType
 

Constructor Detail

AbstractSignalBasedDumpInitiatorDelegate

public AbstractSignalBasedDumpInitiatorDelegate()
Method Detail

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

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.