|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.groiss.store.DBConnPool
public class DBConnPool
This class maintains a pool of database connections.
| Constructor Summary | |
|---|---|
DBConnPool()
|
|
| Method Summary | |
|---|---|
static boolean |
doLogDBSessionId()
|
static Connection |
getConnection()
The method returns a database connection. |
static int |
getConnectionCount()
|
static int |
getGlobalQueryTimeout()
|
static int |
getQueryTimeout()
|
boolean |
isRunning()
Ask the object if it has been started |
void |
reconfigure()
Reconfigure gives the service the chance to react on configuration changes. |
static void |
setQueryTimeout(int s)
|
void |
shutdown()
This method is called on shutdown. |
void |
startup()
This method is called when the object is "started". |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DBConnPool()
| Method Detail |
|---|
public void startup()
Lifecycle
startup in interface Lifecyclepublic void shutdown()
Lifecycle
shutdown in interface Lifecyclepublic boolean isRunning()
Service
isRunning in interface Servicepublic void reconfigure()
Service
reconfigure in interface Servicepublic static int getGlobalQueryTimeout()
public static Connection getConnection()
public static int getConnectionCount()
public static void setQueryTimeout(int s)
public static int getQueryTimeout()
public static boolean doLogDBSessionId()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||