Save This Page
Home » jboss-5.0.0.CR1-src » org » jboss » web » tomcat » tc4 » statistics » [javadoc | source]
org.jboss.web.tomcat.tc4.statistics
public class: ContainerStatsValve [javadoc | source]
java.lang.Object
   org.apache.catalina.valves.ValveBase
      org.jboss.web.tomcat.tc4.statistics.ContainerStatsValve

All Implemented Interfaces:
    org.apache.catalina.Lifecycle

This valve provides information to the container about active threads and resquest timings.
Field Summary
protected  LifecycleSupport support    Valve-lifecycle helper object 
protected  InvocationStatistics stats    The web container stats reference 
Constructor:
 public ContainerStatsValve(InvocationStatistics stats) 
    Create a new Valve.
    Parameters:
    catalina - The container associated with the valve.
Method from org.jboss.web.tomcat.tc4.statistics.ContainerStatsValve Summary:
addLifecycleListener,   findLifecycleListeners,   getInfo,   invoke,   removeLifecycleListener,   start,   stop
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.jboss.web.tomcat.tc4.statistics.ContainerStatsValve Detail:
 public  void addLifecycleListener(LifecycleListener listener) 
 public LifecycleListener[] findLifecycleListeners() 
 public String getInfo() 
    Get information about this Valve.
 public  void invoke(Request request,
    Response response,
    ValveContext context) throws IOException, ServletException 
    Valve-chain handler method. This method gets called when the request goes through the Valve-chain. The activeThreadCount attribute gets incremented/decremented before/after the servlet invocation.
 public  void removeLifecycleListener(LifecycleListener listener) 
 public  void start() throws LifecycleException 
 public  void stop() throws LifecycleException