public class PoolConfig
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
PoolConfig() |
| Modifier and Type | Method and Description |
|---|---|
int |
getInitSize()
Returns the inital size of the pool.
|
int |
getMaxActive()
Returns the maximum active objects allowed in the pool.
|
int |
getMaxIdle()
Returns the maximum idle objects allowed in the pool.
|
void |
setInitSize(int initSize)
Sets the inital size of the pool.
|
void |
setMaxActive(int maxActive)
Sets the maximum active objects allowed in the pool.
|
void |
setMaxIdle(int maxIdle)
Sets the maximum Idle objects allowed in the pool.
|
public int getInitSize()
setInitSize(int)public void setInitSize(int initSize)
initSize - inital size of the pool.getInitSize()public int getMaxActive()
setMaxActive(int)public void setMaxActive(int maxActive)
maxActive - maximum allowed active objectsgetMaxActive()public int getMaxIdle()
setMaxIdle(int)public void setMaxIdle(int maxIdle)
maxIdle - maximum allowed active objectsgetMaxIdle()Copyright © 2003-2014 QuickServer.org