com.caucho.health.action
Class DumpHprofHeap

java.lang.Object
  extended by com.caucho.health.action.AbstractHealthAction
      extended by com.caucho.health.action.DumpHeap
          extended by com.caucho.health.action.DumpHprofHeap
All Implemented Interfaces:
HealthAction

@Singleton
@Configurable
public class DumpHprofHeap
extends DumpHeap

Health action to create a HPROF format heap dump. The heap dump will be written to the Resin log directory as heap.hprof. The dump file location and name can be changed using hprof-path or hprof-path-format.

<health:HttpStatusHealthCheck ee:Named="httpStatusCheck">
   <url>http://localhost:8080/test-ping.jsp</url>
 </health:HttpStatusHealthCheck>
 
 <health:DumpHprofHeap>
   <health:IfHealthCritical healthCheck="${httpStatusCheck}"/>
   <health:IfRechecked/>
 </health:DumpHprofHeap>
 


Field Summary
 
Fields inherited from class com.caucho.health.action.DumpHeap
HPROF_LOG_TYPE, LOG_TYPE
 
Constructor Summary
DumpHprofHeap()
           
 
Method Summary
 
Methods inherited from class com.caucho.health.action.DumpHeap
doActionImpl, init, isRaw, setHprof, setHprofDir, setHprofPath, setHprofPathFormat, setLog, setRaw
 
Methods inherited from class com.caucho.health.action.AbstractHealthAction
add, addListener, doAction, getPredicates, start, stop, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DumpHprofHeap

public DumpHprofHeap()