Class PoolStats
- java.lang.Object
-
- de.aristaflow.adept2.util.objectpool.generic.PoolStats
-
public class PoolStats extends Object
Contains general information about the state of the object pool its objects.- Author:
- Patrick Schmidt
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getAvailableObjects()
Returns the number of available objects.int
getAvailableSlots()
Returns the number of available slots.int
getTotalObjects()
Returns the total number of pooled objects.int
getTotalSlots()
Returns the total number of slots.
-
-
-
Method Detail
-
getAvailableSlots
public int getAvailableSlots()
Returns the number of available slots.- Returns:
- the number of available slots
-
getTotalSlots
public int getTotalSlots()
Returns the total number of slots.- Returns:
- the total number of slots
-
getAvailableObjects
public int getAvailableObjects()
Returns the number of available objects.- Returns:
- the number of available objects
-
getTotalObjects
public int getTotalObjects()
Returns the total number of pooled objects.- Returns:
- the total number of pooled objects
-
-