org.ow2.petals.binding.soap.monitoring.sensor
Class HttpThreadPoolGaugeSensor
java.lang.Object
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 |
| 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 |
httpThreadPool
protected org.mortbay.thread.BoundedThreadPool httpThreadPool
- The HTTP server thread pool
HttpThreadPoolGaugeSensor
public HttpThreadPoolGaugeSensor()
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.