Package com.sun.enterprise.resource.pool
Class PoolStatus
- java.lang.Object
-
- com.sun.enterprise.resource.pool.PoolStatus
-
public class PoolStatus extends Object
Reflects the current status of the Connection Pool. This class is used to get the status of the pool specifically the number of connections free or used.- Author:
- Shalini M
-
-
Constructor Summary
Constructors Constructor Description PoolStatus(PoolInfo poolInfo)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetNumConnFree()intgetNumConnUsed()PoolInfogetPoolInfo()voidsetNumConnFree(int numConnFree)voidsetNumConnUsed(int numConnUsed)voidsetPoolInfo(PoolInfo poolInfo)
-
-
-
Constructor Detail
-
PoolStatus
public PoolStatus(PoolInfo poolInfo)
-
-
Method Detail
-
getNumConnFree
public int getNumConnFree()
-
setNumConnFree
public void setNumConnFree(int numConnFree)
-
getNumConnUsed
public int getNumConnUsed()
-
setNumConnUsed
public void setNumConnUsed(int numConnUsed)
-
getPoolInfo
public PoolInfo getPoolInfo()
-
setPoolInfo
public void setPoolInfo(PoolInfo poolInfo)
-
-