public class DBManagerImpl extends DatabaseManager
Thread.State, Thread.UncaughtExceptionHandler| Modifier and Type | Field and Description |
|---|---|
static int |
JUMP_RANGE |
static String |
XML_FILE_NAME |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
DBManagerImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
closeAllConnections() |
void |
executeFile(String fileName) |
protected void |
finalized() |
void |
freeConnection(Connection connection) |
Connection |
getConnection() |
String |
getDatabaseURL() |
long |
getNextSequenceId(String tableName) |
long |
getNextSequenceIdUnbuffered(String tableName) |
void |
reLoad() |
void |
run() |
getInstanceactiveCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yieldpublic static String XML_FILE_NAME
public static final int JUMP_RANGE
public void run()
run in interface Runnablerun in class DatabaseManagerpublic void reLoad()
throws Exception
reLoad in class DatabaseManagerExceptionpublic String getDatabaseURL()
getDatabaseURL in class DatabaseManagerpublic Connection getConnection() throws SQLException
getConnection in class DatabaseManagerSQLExceptionpublic void freeConnection(Connection connection)
freeConnection in class DatabaseManagerpublic void closeAllConnections()
closeAllConnections in class DatabaseManagerprotected void finalized()
finalized in class DatabaseManagerpublic long getNextSequenceId(String tableName) throws Exception
getNextSequenceId in class DatabaseManagerExceptionpublic long getNextSequenceIdUnbuffered(String tableName) throws Exception
getNextSequenceIdUnbuffered in class DatabaseManagerExceptionpublic void executeFile(String fileName) throws Exception
executeFile in class DatabaseManagerExceptionCopyright © 2022. All rights reserved.