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

java.lang.Object
  extended by org.ow2.petals.binding.soap.monitoring.sensor.HttpThreadPoolGaugeSensor
All Implemented Interfaces:
org.ow2.petals.probes.sensor.GaugeSensor<Integer,Integer>, org.ow2.petals.probes.sensor.Sensor<Integer,Integer>

public abstract class HttpThreadPoolGaugeSensor
extends Object
implements org.ow2.petals.probes.sensor.GaugeSensor<Integer,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
 
Constructor Summary
HttpThreadPoolGaugeSensor()
           
 
Method Summary
 Integer getInitialValue()
           
 void setHttpThreadPool(org.mortbay.thread.BoundedThreadPool httpThreadPool)
           
 Integer toExternalValue(Integer valueToConvert)
           
 
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.GaugeSensor
getInstantValue
 

Field Detail

httpThreadPool

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

Constructor Detail

HttpThreadPoolGaugeSensor

public HttpThreadPoolGaugeSensor()
Method Detail

getInitialValue

public final Integer getInitialValue()
Specified by:
getInitialValue in interface org.ow2.petals.probes.sensor.GaugeSensor<Integer,Integer>

toExternalValue

public final Integer toExternalValue(Integer valueToConvert)
Specified by:
toExternalValue in interface org.ow2.petals.probes.sensor.Sensor<Integer,Integer>

setHttpThreadPool

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


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