org.ow2.util.pool.impl.enhanced.impl.listener.statistics
Class BasicPoolStats

java.lang.Object
  extended by org.ow2.util.pool.impl.enhanced.impl.listener.statistics.BasicPoolStats
All Implemented Interfaces:
StockerStatistics
Direct Known Subclasses:
ExtendedPoolStats

public class BasicPoolStats
extends java.lang.Object
implements StockerStatistics

Author:
Gael Lalire

Constructor Summary
BasicPoolStats()
           
 
Method Summary
 int getNotSendedBack()
           
 int getStockedCount()
          We assume that a pool item is stocked when it is not in pool.
 int getWaiters()
           
 void setNotSendedBack(int notSendedBack)
           
 void setWaiters(int waiters)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicPoolStats

public BasicPoolStats()
Method Detail

getWaiters

public int getWaiters()
Returns:
the waiters

setWaiters

public void setWaiters(int waiters)
Parameters:
waiters - the waiters to set

getNotSendedBack

public int getNotSendedBack()
Returns:
the notSendedBack

setNotSendedBack

public void setNotSendedBack(int notSendedBack)
Parameters:
notSendedBack - the notSendedBack to set

getStockedCount

public int getStockedCount()
We assume that a pool item is stocked when it is not in pool.

Specified by:
getStockedCount in interface StockerStatistics


Copyright © 2007-2009 OW2 Consortium. All Rights Reserved.