org.apache.catalina.valves
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, toStringpublic 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 Valveinvoke in class ValveBaserequest - 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()
ValveBasebackgroundProcess in interface ValvebackgroundProcess in class ValveBasepublic long[] getStuckThreadIds()
public java.lang.String[] getStuckThreadNames()
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.