@Singleton @Configurable public class ScoreboardReport extends AbstractHealthAction
<health:HttpStatusHealthCheck ee:Named="httpStatusCheck">
<url>http://localhost:8080/test-ping.jsp</url>
</health:HttpStatusHealthCheck>
<health:ScoreboardReport>
<health:IfHealthCritical healthCheck="${httpStatusCheck}"/>
<health:IfRechecked/>
</health:ScoreboardReport>
Constructor and Description |
---|
ScoreboardReport() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
createLogType(java.lang.String type) |
HealthActionResult |
doActionImpl(HealthEvent healthEvent) |
void |
init() |
void |
setGreedy(boolean greedy)
If true threads can not be in more than one scoreboard
|
void |
setLog(boolean isLog)
Output to server log in addition to internal database (default false).
|
void |
setType(java.lang.String type)
Report type name
(ie "resin" for Resin thread overview, "database" for database threads)
|
add, addListener, doAction, getPredicates, start, stop, toString
@Configurable public void setLog(boolean isLog)
@Configurable public void setType(java.lang.String type)
@Configurable public void setGreedy(boolean greedy)
@PostConstruct public void init()
init
in class AbstractHealthAction
public HealthActionResult doActionImpl(HealthEvent healthEvent) throws java.lang.Exception
doActionImpl
in class AbstractHealthAction
java.lang.Exception
public static java.lang.String createLogType(java.lang.String type)