|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.health.action.AbstractHealthAction
com.caucho.health.action.DumpHeap
@Singleton @Configurable public class DumpHeap
Health action to create a heap dump. The heap dump will be logged to the internal log database and the resin log file using com.caucho.health.action.DumpHeap as the class, at info level.
<health:HttpStatusHealthCheck ee:Named="httpStatusCheck">
<url>http://localhost:8080/test-ping.jsp</url>
</health:HttpStatusHealthCheck>
<health:DumpHeap>
<health:IfHealthCritical healthCheck="${httpStatusCheck}"/>
<health:IfRechecked/>
</health:DumpHeap>
| Field Summary | |
|---|---|
static java.lang.String |
HPROF_LOG_TYPE
|
static java.lang.String |
LOG_TYPE
|
| Constructor Summary | |
|---|---|
DumpHeap()
|
|
| Method Summary | |
|---|---|
void |
doActionImpl(HealthEvent healthEvent)
|
void |
init()
|
boolean |
isRaw()
|
void |
setHprof(boolean isHprof)
Generate an HPROF heap dump instead of human readable heap dump. |
void |
setHprofDir(Path hprofPath)
Deprecated. |
void |
setHprofPath(Path hprofPath)
Output path for the hprof dump file. |
void |
setHprofPathFormat(java.lang.String hprofPathFormat)
Format for generating dynamic path names with timestamps. |
void |
setLog(boolean isLog)
Output to server log in addition to internal database (default true). |
void |
setRaw(boolean raw)
Deprecated. |
| 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 |
| Field Detail |
|---|
public static final java.lang.String LOG_TYPE
public static final java.lang.String HPROF_LOG_TYPE
| Constructor Detail |
|---|
public DumpHeap()
| Method Detail |
|---|
@PostConstruct public void init()
init in class AbstractHealthActionpublic boolean isRaw()
@Configurable public void setLog(boolean isLog)
@Deprecated @Configurable public void setRaw(boolean raw)
@Configurable public void setHprof(boolean isHprof)
@Configurable public void setHprofPath(Path hprofPath)
@Deprecated @Configurable public void setHprofDir(Path hprofPath)
public void setHprofPathFormat(java.lang.String hprofPathFormat)
public void doActionImpl(HealthEvent healthEvent)
doActionImpl in class AbstractHealthAction
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||