Package com.sun.enterprise.resource.pool
Interface PoolProperties
-
- All Known Implementing Classes:
AssocWithThreadResourcePool
,ConnectionPool
,UnpooledResource
public interface PoolProperties
Pool supplementary classes can use this to retrieve runtime pool attributes.- Author:
- Jagadish Ramu
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
getIdleTimeout()
gets the idle connection timeout valueint
getMaxPoolSize()
gets the max pool size of the poolint
getResizeQuantity()
gets the resize quantity of the poolint
getSteadyPoolSize()
gets the steady pool size of the poolint
getWaitQueueLength()
gets the current wait queue length
-
-
-
Method Detail
-
getSteadyPoolSize
int getSteadyPoolSize()
gets the steady pool size of the pool- Returns:
- steady pool size
-
getMaxPoolSize
int getMaxPoolSize()
gets the max pool size of the pool- Returns:
- max pool size
-
getResizeQuantity
int getResizeQuantity()
gets the resize quantity of the pool- Returns:
- resize quantity
-
getIdleTimeout
long getIdleTimeout()
gets the idle connection timeout value- Returns:
- idle timeout value
-
getWaitQueueLength
int getWaitQueueLength()
gets the current wait queue length- Returns:
- wait queue length
-
-