@Singleton @Configurable public class Snapshot extends ActionSequence
<health:Snapshot>
<health:OnAbnormalStop/>
</health:Snapshot
ActionSequence.IfExecuting
_actionList
Constructor and Description |
---|
Snapshot() |
Modifier and Type | Method and Description |
---|---|
void |
init() |
void |
setHeapDump(boolean isEnable)
Enable a heap dump for the snapshot.
|
void |
setJmxDump(boolean isEnable)
Enable a jmx dump for the snapshot.
|
void |
setLog(boolean isLog)
Output to server log in addition to internal database (default false).
|
void |
setLogDirectory(java.lang.String logDirectory)
PDF output directory (defaults to resin log directory)
|
void |
setPath(java.lang.String path)
path to a PDF generating .php file
(defaults to ${resin.home}/doc/admin/pdf-gen.php)
|
void |
setPdfReport(boolean isEnable)
Enable a pdf report for the snapshot.
|
void |
setPeriod(Period period)
specifies look back period of time.
|
void |
setReport(java.lang.String report)
report type key (default Summary)
|
void |
setThreadDump(boolean isEnable)
Enable a thread dump for the snapshot.
|
void |
setThreadScoreboard(boolean isEnable)
Enable a scoreboard report for the snapshot.
|
add, doActionImpl
add, addListener, doAction, getPredicates, start, stop, toString
@Configurable public void setThreadDump(boolean isEnable)
public void setHeapDump(boolean isEnable)
public void setJmxDump(boolean isEnable)
public void setPdfReport(boolean isEnable)
public void setThreadScoreboard(boolean isEnable)
@PostConstruct public void init()
init
in class ActionSequence
public void setLog(boolean isLog)
@Configurable public void setPath(java.lang.String path)
@Configurable public void setReport(java.lang.String report)
@Configurable public void setPeriod(Period period)
@Configurable public void setLogDirectory(java.lang.String logDirectory)
logDirectory
-