|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--com.cafesoft.core.pool.StandardObjectPoolConfig
The standard implementation of the ObjectPoolConfig interface. This implementation is a no frills implementation of the ObjectPoolConfig interface. This implementation serves as a very good base class that all extend ObjectPool configuration objects should extend.
ObjectPoolConfig| Constructor Summary | |
StandardObjectPoolConfig()
Create a new StandardObjectPoolConfig object. |
|
StandardObjectPoolConfig(Logger logger)
Create a new StandardObjectPoolConfig object. |
|
StandardObjectPoolConfig(Logger logger,
boolean debug)
Create a new StandardObjectPoolConfig object. |
|
StandardObjectPoolConfig(Logger logger,
String debug)
Create a new StandardObjectPoolConfig object. |
|
| Method Summary | |
boolean |
getDebug()
Determine if debugging is enabled. |
Logger |
getLogger()
Get the Logger. |
boolean |
setDebug(boolean enable)
Enable or disable debugging. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public StandardObjectPoolConfig()
public StandardObjectPoolConfig(Logger logger)
logger - the Logger object to use.
public StandardObjectPoolConfig(Logger logger,
String debug)
logger - the Logger object to use.debug - a String value that contains a textual version of the
boolean value to enable/disable debugging.
public StandardObjectPoolConfig(Logger logger,
boolean debug)
logger - the Logger object to use.debug - boolean flag to enable/disable debugging.| Method Detail |
public Logger getLogger()
getLogger in interface ObjectPoolConfigpublic boolean getDebug()
getDebug in interface ObjectPoolConfigpublic boolean setDebug(boolean enable)
setDebug in interface Debuggableenable - if true, enable debugging, else disable debugging.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||