org.ow2.petals.binding.soap.monitoring.probe
Class WsClientPoolClientInUseProbe

java.lang.Object
  extended by org.ow2.petals.probes.AbstractProbe
      extended by org.ow2.petals.probes.AbstractKeyedProbe<K>
          extended by org.ow2.petals.probes.KeyedGaugeProbe<ServiceClientKey,Integer,Integer>
              extended by org.ow2.petals.binding.soap.monitoring.probe.WsClientPoolClientInUseProbe
All Implemented Interfaces:
org.ow2.petals.probes.Probe

public class WsClientPoolClientInUseProbe
extends org.ow2.petals.probes.KeyedGaugeProbe<ServiceClientKey,Integer,Integer>

A probe counting allocated ws-clients in the pool.

Author:
Christophe DENEUX (PetalsLink)

Field Summary
 
Fields inherited from class org.ow2.petals.probes.KeyedGaugeProbe
maxValues, sensor
 
Fields inherited from class org.ow2.petals.probes.AbstractProbe
isInitialized, isStarted
 
Constructor Summary
WsClientPoolClientInUseProbe()
           
 
Method Summary
 void setWsClientPools(Map<ServiceClientKey,org.apache.commons.pool.impl.GenericObjectPool<PetalsServiceClient>> wsClientPools)
           
 
Methods inherited from class org.ow2.petals.probes.KeyedGaugeProbe
doInit, doShutdown, doStart, doStop, getConvertedInstantValues, getConvertedMaxValues, getInstantValues, getMaxValues, pick
 
Methods inherited from class org.ow2.petals.probes.AbstractProbe
init, shutdown, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WsClientPoolClientInUseProbe

public WsClientPoolClientInUseProbe()
Parameters:
wsClientPools - The pools of service clients used to call external web services.
Method Detail

setWsClientPools

public void setWsClientPools(Map<ServiceClientKey,org.apache.commons.pool.impl.GenericObjectPool<PetalsServiceClient>> wsClientPools)


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