|
QuickServer v1.4.1 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--org.quickserver.util.xmlreader.ObjectPoolConfig
This class encapsulate the Object pool configuration. The xml is <object-pool>...</object-pool>
| Constructor Summary | |
ObjectPoolConfig()
|
|
| Method Summary | |
int |
getMaxActive()
Returns the maximum active objects allowed in the pool. |
int |
getMaxIdle()
Returns the maximum idle objects allowed in 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. |
java.lang.String |
toXML(java.lang.String pad)
Returns XML config of this class. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ObjectPoolConfig()
| Method Detail |
public int getMaxActive()
setMaxActive(int)public void setMaxActive(int maxActive)
getMaxActive()public int getMaxIdle()
setMaxIdle(int)public void setMaxIdle(int maxIdle)
getMaxIdle()public java.lang.String toXML(java.lang.String pad)
|
QuickServer v1.4.1 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||