ch.bind.philib.pool.object
Class SimplePoolStats
java.lang.Object
ch.bind.philib.pool.object.SimplePoolStats
- All Implemented Interfaces:
- PoolStats
public final class SimplePoolStats
- extends Object
- implements PoolStats
- Author:
- Philipp Meinen
SimplePoolStats
public SimplePoolStats()
getCreates
public long getCreates()
- Specified by:
getCreates in interface PoolStats
- Returns:
- The number of object which were created because no pooled objects were left.
getTakes
public long getTakes()
- Specified by:
getTakes in interface PoolStats
- Returns:
- The number of objects which have been taken by client-code.
getRecycled
public long getRecycled()
- Specified by:
getRecycled in interface PoolStats
- Returns:
- The number of objects which have been recycled by client-code.
getReleased
public long getReleased()
- Specified by:
getReleased in interface PoolStats
- Returns:
- The number of objects which have been released because they were no longer needed.
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2013. All Rights Reserved.