|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.groiss.store.DBConnPool
public class DBConnPool
This class maintains a pool of database connections.
Constructor Summary | |
---|---|
DBConnPool()
|
Method Summary | |
---|---|
static boolean |
doLogDBSessionId()
|
static java.sql.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 Lifecycle
public void shutdown()
Lifecycle
shutdown
in interface Lifecycle
public boolean isRunning()
Service
isRunning
in interface Service
public void reconfigure()
Service
reconfigure
in interface Service
public static int getGlobalQueryTimeout()
public static java.sql.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 |