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

java.lang.Object
  extended by 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)

Field Summary
protected  Map<ServiceClientKey,org.apache.commons.pool.impl.GenericObjectPool<PetalsServiceClient>> wsClientPools
          The pools of service clients used to call external web services.
 
Constructor Summary
WsClientPoolsKeyedGaugeSensor()
           
 
Method Summary
 void reset()
           
 void setWsClientPools(Map<ServiceClientKey,org.apache.commons.pool.impl.GenericObjectPool<PetalsServiceClient>> wsClientPools)
           
 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.KeyedGaugeSensor
getInstantValue
 

Field Detail

wsClientPools

protected Map<ServiceClientKey,org.apache.commons.pool.impl.GenericObjectPool<PetalsServiceClient>> wsClientPools
The pools of service clients used to call external web services.

Constructor Detail

WsClientPoolsKeyedGaugeSensor

public WsClientPoolsKeyedGaugeSensor()
Method Detail

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.