public class DbConnectionWatchDog extends java.util.TimerTask implements FixedLoggers
Modifier and Type | Class and Description |
---|---|
static class |
DbConnectionWatchDog.ConnectionData |
APPLOGGER, CRONTASKLOGGER, CRONTASKMGRLOGGER, CRONTASKMGRSQLLOGGER, DBCONNECTIONLOGGER, DDLOGGER, DMLOGGER, EVENTLOGGER, EXCEPTIONLOGGER, MAILLOGGER, MAXIMOLOGGER, MTLOGGER, NULLMBOPOINTER, SECURITY, SENDFAILEDLOGGER, SERVICELOGGER, SQLLOGGER
appenderPrefix, LOGGERNAME_APP, LOGGERNAME_CRONTASK, LOGGERNAME_CRONTASKMGR, LOGGERNAME_DBCONNECTION, LOGGERNAME_DD, LOGGERNAME_DM, LOGGERNAME_DMPREVIEW, LOGGERNAME_EVENT, LOGGERNAME_EXCEPTION, LOGGERNAME_MAIL, LOGGERNAME_MAXIMO, LOGGERNAME_MT, LOGGERNAME_NULLMBOPOINTER, LOGGERNAME_SECURITY, LOGGERNAME_SENDFAILED, LOGGERNAME_SERVICE, LOGGERNAME_SQL, LOGGERNAME_SQL_CRONTASKMGR, LOGGERNAME_TXN, loggerPrefix
Constructor and Description |
---|
DbConnectionWatchDog() |
Modifier and Type | Method and Description |
---|---|
static void |
addConnection(int conRefId,
java.lang.String SPID) |
static void |
closeConnection(int conRefId) |
static java.util.Map<java.lang.Integer,DbConnectionWatchDog.ConnectionData> |
getWatchDogConnectionData() |
static void |
log(java.lang.String optionalMessage) |
static void |
log(java.lang.String optionalMessage,
boolean openConnectionsAreErrors,
boolean sendMail) |
static java.lang.String |
printCreationStackIfAvailable(int conRefId,
java.lang.String SPID) |
static void |
printDBManagerLog() |
void |
run() |
public static java.util.Map<java.lang.Integer,DbConnectionWatchDog.ConnectionData> getWatchDogConnectionData()
public void run()
run
in interface java.lang.Runnable
run
in class java.util.TimerTask
public static void addConnection(int conRefId, java.lang.String SPID)
public static java.lang.String printCreationStackIfAvailable(int conRefId, java.lang.String SPID)
public static void closeConnection(int conRefId)
public static void log(java.lang.String optionalMessage)
public static void log(java.lang.String optionalMessage, boolean openConnectionsAreErrors, boolean sendMail)
public static void printDBManagerLog()