container, containerLog, controller, domain, info, mserver, next, oname
Constructor and Description |
---|
StuckThreadDetectionValve() |
Modifier and Type | Method and Description |
---|---|
void |
backgroundProcess()
Execute a periodic task, such as reloading, etc.
|
long[] |
getStuckThreadIds() |
java.lang.String[] |
getStuckThreadNames() |
int |
getThreshold() |
void |
invoke(Request request,
Response response)
The implementation-specific logic represented by this Valve.
|
void |
setThreshold(int threshold)
Specify the threshold (in seconds) used when checking for stuck threads.
|
createObjectName, event, getContainer, getContainerName, getController, getDomain, getInfo, getNext, getObjectName, getParentName, postDeregister, postRegister, preDeregister, preRegister, setContainer, setController, setNext, setObjectName, toString
public void setThreshold(int threshold)
threshold
- The new threshold in secondspublic int getThreshold()
setThreshold(int)
public void invoke(Request request, Response response) throws java.io.IOException, javax.servlet.ServletException
This method MUST be provided by a subclass.
invoke
in interface Valve
invoke
in class ValveBase
request
- The servlet request to be processedresponse
- The servlet response to be createdjava.io.IOException
- if an input/output error occursjavax.servlet.ServletException
- if a servlet error occurspublic void backgroundProcess()
ValveBase
backgroundProcess
in interface Valve
backgroundProcess
in class ValveBase
public long[] getStuckThreadIds()
public java.lang.String[] getStuckThreadNames()
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.