public class CarbonStuckThreadDetectionValve
extends org.apache.catalina.valves.ValveBase
asyncSupported, container, containerLog, nextAFTER_DESTROY_EVENT, AFTER_INIT_EVENT, AFTER_START_EVENT, AFTER_STOP_EVENT, BEFORE_DESTROY_EVENT, BEFORE_INIT_EVENT, BEFORE_START_EVENT, BEFORE_STOP_EVENT, CONFIGURE_START_EVENT, CONFIGURE_STOP_EVENT, PERIODIC_EVENT, START_EVENT, STOP_EVENT| Constructor and Description |
|---|
CarbonStuckThreadDetectionValve() |
| Modifier and Type | Method and Description |
|---|---|
void |
backgroundProcess() |
String |
getInfo()
Return descriptive information about this Valve implementation.
|
protected void |
initInternal() |
void |
invoke(org.apache.catalina.connector.Request request,
org.apache.catalina.connector.Response response) |
void |
setThreshold(int threshold)
Specify the threshold (in seconds) used when checking for stuck threads.
|
event, getContainer, getDomainInternal, getNext, getObjectNameKeyProperties, isAsyncSupported, setAsyncSupported, setContainer, setNext, startInternal, stopInternal, toStringdestroyInternal, getDomain, getObjectName, postDeregister, postRegister, preDeregister, preRegister, register, setDomain, unregisterpublic void setThreshold(int threshold)
threshold - The new threshold in secondsprotected void initInternal()
throws org.apache.catalina.LifecycleException
initInternal in class org.apache.catalina.valves.ValveBaseorg.apache.catalina.LifecycleExceptionpublic String getInfo()
getInfo in interface org.apache.catalina.ValvegetInfo in class org.apache.catalina.valves.ValveBasepublic void invoke(org.apache.catalina.connector.Request request,
org.apache.catalina.connector.Response response)
throws IOException,
javax.servlet.ServletException
invoke in interface org.apache.catalina.Valveinvoke in class org.apache.catalina.valves.ValveBaseIOExceptionjavax.servlet.ServletExceptionpublic void backgroundProcess()
backgroundProcess in interface org.apache.catalina.ValvebackgroundProcess in class org.apache.catalina.valves.ValveBaseCopyright © 2015 WSO2 Inc. All rights reserved.