org.ow2.petals.binding.soap.monitoring.probe
Class HttpServerThreadPoolAbstractProbe

java.lang.Object
  extended by org.ow2.petals.probes.AbstractProbe
      extended by org.ow2.petals.probes.GaugeProbe<Integer,Integer>
          extended by org.ow2.petals.binding.soap.monitoring.probe.HttpServerThreadPoolAbstractProbe
All Implemented Interfaces:
org.ow2.petals.probes.Probe
Direct Known Subclasses:
HttpServerThreadPoolAllocatedThreadsProbe, HttpServerThreadPoolIdleThreadsProbe, HttpServerThreadPoolQueuedRequestsProbe

public abstract class HttpServerThreadPoolAbstractProbe
extends org.ow2.petals.probes.GaugeProbe<Integer,Integer>

Abstract probe monitoring the thread pool of the HTTP server.

Author:
Christophe DENEUX (PetalsLink)

Field Summary
 
Fields inherited from class org.ow2.petals.probes.GaugeProbe
defectDetector, maxValue, sensor
 
Fields inherited from class org.ow2.petals.probes.AbstractProbe
isInitialized, isStarted
 
Constructor Summary
HttpServerThreadPoolAbstractProbe(org.ow2.petals.probes.sensor.GaugeSensor<Integer,Integer> sensor, org.ow2.petals.probes.sensor.GaugeDefectDetector<Integer> defectDetector)
           
 
Method Summary
 void setHttpThreadPool(org.mortbay.thread.BoundedThreadPool httpThreadPool)
           
 
Methods inherited from class org.ow2.petals.probes.GaugeProbe
doInit, doShutdown, doStart, doStop, getInstantValue, getMaxValue, pick
 
Methods inherited from class org.ow2.petals.probes.AbstractProbe
init, shutdown, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpServerThreadPoolAbstractProbe

public HttpServerThreadPoolAbstractProbe(org.ow2.petals.probes.sensor.GaugeSensor<Integer,Integer> sensor,
                                         org.ow2.petals.probes.sensor.GaugeDefectDetector<Integer> defectDetector)
                                  throws IllegalArgumentException
Throws:
IllegalArgumentException
Method Detail

setHttpThreadPool

public void setHttpThreadPool(org.mortbay.thread.BoundedThreadPool httpThreadPool)


Copyright © 2005-2012 Petals Link (EBM Websourcing). All Rights Reserved.