|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.extrememessaging.ResponseMaster.monitor.CMonitorBase com.extrememessaging.ResponseMaster.monitor.DBLogger
public class DBLogger
This class is used to log messages to a DB. It is currently not very flexible, and used only for internal Extreme-Messaging applications.
Constructor Summary | |
---|---|
DBLogger()
|
Method Summary | |
---|---|
void |
Initialize(java.lang.String sFileName)
Initialize using the parameter from the config file. |
void |
LogError(java.lang.String sMessage)
Log an error |
void |
LogError(java.lang.String sMessage,
java.lang.Throwable e)
Log an error from a Throwable |
void |
LogSystem(java.lang.String sMessage)
Log a system message |
void |
LogTrace(java.lang.String sMessage)
Log a tracing message If the logging level is Errors or Warnings, this doesn't do anything |
void |
LogTrace(java.lang.String sMessage,
java.lang.Throwable e)
Log a tracing message from a Throwable If the logging level is Errors, this doesn't do anything |
void |
LogWarning(java.lang.String sMessage)
Log a warning If the logging level is Errors, this doesn't do anything |
void |
LogWarning(java.lang.String sMessage,
java.lang.Throwable e)
Log a warning from a Throwable If the logging level is Errors, this doesn't do anything |
void |
MailboxEmpty(java.lang.String sMailboxName)
This is fired every time we check the mailbox for messages, and we find that it is empty. |
void |
MailboxInitializationBegun(java.lang.String sMailboxName)
The mailbox initialization process started for a particular mailbox New in build 627 |
void |
MailboxInitializationFinished(java.lang.String sMailboxName)
The mailbox initialization process completed for a particular mailbox New in build 627 |
void |
MailboxShutdownBegun(java.lang.String sMailboxName)
The mailbox shutdown process began for a particular mailbox New in build 627 |
void |
MailboxShutdownFinished(java.lang.String sMailboxName)
The mailbox shutdown process finished for a particular mailbox New in build 627 |
void |
MessageProcessed(CMessage oMessage)
A message was processed Changed in build 595 |
void |
Shutdown()
Cleanup any resources you allocated during construction or operation. |
Methods inherited from class com.extrememessaging.ResponseMaster.monitor.CMonitorBase |
---|
CategoryDefinitionsLoaded, LoggingLevelFromString, LoggingLevelNameFromValue, MessageCategorized, MessageSkipped, ThreadKilled |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DBLogger()
Method Detail |
---|
public void Initialize(java.lang.String sFileName) throws ResponseMasterException
IConfigurableItem
Initialize
in interface IConfigurableItem
Initialize
in class CMonitorBase
ResponseMasterException
public void Shutdown()
IConfigurableItem
Shutdown
in interface IConfigurableItem
Shutdown
in class CMonitorBase
public void LogError(java.lang.String sMessage)
LogError
in interface IMonitor
LogError
in class CMonitorBase
sMessage
- The message to logpublic void LogError(java.lang.String sMessage, java.lang.Throwable e)
LogError
in interface IMonitor
LogError
in class CMonitorBase
sMessage
- The message to loge
- The Throwable to logpublic void LogWarning(java.lang.String sMessage)
LogWarning
in interface IMonitor
LogWarning
in class CMonitorBase
sMessage
- The message to logpublic void LogWarning(java.lang.String sMessage, java.lang.Throwable e)
LogWarning
in interface IMonitor
LogWarning
in class CMonitorBase
sMessage
- The message to loge
- The Throwable to logpublic void LogTrace(java.lang.String sMessage)
LogTrace
in interface IMonitor
LogTrace
in class CMonitorBase
sMessage
- The message to logpublic void LogTrace(java.lang.String sMessage, java.lang.Throwable e)
LogTrace
in interface IMonitor
LogTrace
in class CMonitorBase
sMessage
- The message to loge
- The Throwable to logpublic void LogSystem(java.lang.String sMessage)
LogSystem
in interface IMonitor
LogSystem
in class CMonitorBase
sMessage
- The message to logpublic void MailboxInitializationBegun(java.lang.String sMailboxName)
IMonitor
MailboxInitializationBegun
in interface IMonitor
MailboxInitializationBegun
in class CMonitorBase
sMailboxName
- The name of the mailboxpublic void MailboxInitializationFinished(java.lang.String sMailboxName)
IMonitor
MailboxInitializationFinished
in interface IMonitor
MailboxInitializationFinished
in class CMonitorBase
sMailboxName
- The name of the mailboxpublic void MailboxShutdownBegun(java.lang.String sMailboxName)
IMonitor
MailboxShutdownBegun
in interface IMonitor
MailboxShutdownBegun
in class CMonitorBase
sMailboxName
- The name of the mailboxpublic void MailboxShutdownFinished(java.lang.String sMailboxName)
IMonitor
MailboxShutdownFinished
in interface IMonitor
MailboxShutdownFinished
in class CMonitorBase
sMailboxName
- The name of the mailboxpublic void MessageProcessed(CMessage oMessage)
IMonitor
MessageProcessed
in interface IMonitor
MessageProcessed
in class CMonitorBase
public void MailboxEmpty(java.lang.String sMailboxName)
IMonitor
MailboxEmpty
in interface IMonitor
MailboxEmpty
in class CMonitorBase
sMailboxName
- The name of the mailbox
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |