Package org.jgrapes.io.util
Class ManagedBufferPool.ManagedBufferPoolMXBean.PoolInfos
java.lang.Object
org.jgrapes.io.util.ManagedBufferPool.ManagedBufferPoolMXBean.PoolInfos
- Enclosing interface:
ManagedBufferPool.ManagedBufferPoolMXBean
Three views on the existing pool.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionAll pools.Pools that have at least managed buffer enqueued (ready to be acquired).Pools that have at least one associated buffer (in pool or in use).
-
Constructor Details
-
PoolInfos
Instantiates a new pool infos.- Parameters:
pools
- the pools
-
-
Method Details
-
getAllPools
All pools.- Returns:
- the all pools
-
getNonEmptyPools
Pools that have at least managed buffer enqueued (ready to be acquired).- Returns:
- the non empty pools
-
getUsedPools
Pools that have at least one associated buffer (in pool or in use).- Returns:
- the used pools
-