Package com.exedio.cope.util
Class PoolCounter
java.lang.Object
com.exedio.cope.util.PoolCounter
Simulates the behaviour of a set of pools with different pool idle limits,
and collects statistics about the efficiency of such pools.
Useful for determining pool idle limits.
- Author:
- Ralf Wiebicke
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
PoolCounter
public PoolCounter() -
PoolCounter
public PoolCounter(int... idleLimits) -
PoolCounter
-
-
Method Details
-
incrementGet
public void incrementGet() -
incrementPut
public void incrementPut() -
getPools
-
getGetCounter
public int getGetCounter() -
getPutCounter
public int getPutCounter()
-