org.ow2.petals.binding.soap.monitoring.sensor
Class WsClientPoolsKeyedGaugeSensor
java.lang.Object
org.ow2.petals.binding.soap.monitoring.sensor.WsClientPoolsKeyedGaugeSensor
- All Implemented Interfaces:
- org.ow2.petals.probes.sensor.KeyedGaugeSensor<ServiceClientKey,Integer,Integer>, org.ow2.petals.probes.sensor.Sensor<Integer,Integer>
public abstract class WsClientPoolsKeyedGaugeSensor
- extends Object
- implements org.ow2.petals.probes.sensor.KeyedGaugeSensor<ServiceClientKey,Integer,Integer>
Abstract sensor attached to the pools of service clients used to call
external web services.
- Author:
- Christophe DENEUX (PetalsLink)
| 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.KeyedGaugeSensor |
getInstantValue |
wsClientPools
protected Map<ServiceClientKey,org.apache.commons.pool.impl.GenericObjectPool<PetalsServiceClient>> wsClientPools
- The pools of service clients used to call external web
services.
WsClientPoolsKeyedGaugeSensor
public WsClientPoolsKeyedGaugeSensor()
toExternalValue
public final Integer toExternalValue(Integer valueToConvert)
- Specified by:
toExternalValue in interface org.ow2.petals.probes.sensor.Sensor<Integer,Integer>
reset
public final void reset()
- Specified by:
reset in interface org.ow2.petals.probes.sensor.KeyedGaugeSensor<ServiceClientKey,Integer,Integer>
setWsClientPools
public final void setWsClientPools(Map<ServiceClientKey,org.apache.commons.pool.impl.GenericObjectPool<PetalsServiceClient>> wsClientPools)
Copyright © 2005-2012 Petals Link (EBM Websourcing). All Rights Reserved.