/** * Get current pool size of the pool associated with this container, * also known as the method ready count * * @throws UnsupportedOperationException if the container type does not support an instance pool */ public int getCurrentPoolSize() { return getInstancePool().getCurrentSize(); }
/** * Get current pool size of the pool associated with this container. * * @throws UnsupportedOperationException if the container type does not support an instance pool */ public int getMaxPoolSize() { return getInstancePool().getMaxSize(); }