org.ow2.petals.binding.soap.monitoring.sensor
Class HttpThreadPoolDefectDetector

java.lang.Object
  extended by org.ow2.petals.binding.soap.monitoring.sensor.HttpThreadPoolDefectDetector
All Implemented Interfaces:
org.ow2.petals.probes.sensor.GaugeDefectDetector<Integer>

public abstract class HttpThreadPoolDefectDetector
extends Object
implements org.ow2.petals.probes.sensor.GaugeDefectDetector<Integer>

Abstract sensor attached to the HTTP thread pool.

Author:
Christophe DENEUX (PetalsLink)

Field Summary
protected  org.mortbay.thread.BoundedThreadPool httpThreadPool
          The HTTP server thread pool
protected  Monitoring monitoringMBean
          The monitoring MBean
 
Constructor Summary
HttpThreadPoolDefectDetector(Monitoring monitoringMBean)
           
 
Method Summary
 void setHttpThreadPool(org.mortbay.thread.BoundedThreadPool httpThreadPool)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.ow2.petals.probes.sensor.GaugeDefectDetector
detect
 

Field Detail

httpThreadPool

protected org.mortbay.thread.BoundedThreadPool httpThreadPool
The HTTP server thread pool


monitoringMBean

protected final Monitoring monitoringMBean
The monitoring MBean

Constructor Detail

HttpThreadPoolDefectDetector

public HttpThreadPoolDefectDetector(Monitoring monitoringMBean)
Method Detail

setHttpThreadPool

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


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