|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.extrememessaging.ResponseMaster.monitor.CMonitorBase
public class CMonitorBase
Derive from this class if you want to implement a monitor class that implements only a small subset of the functions
Constructor Summary | |
---|---|
CMonitorBase()
|
Method Summary | |
---|---|
void |
CategoryDefinitionsLoaded()
The category definition file finished loading New in build 595. |
void |
Initialize(java.lang.String parameter)
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 Changed to Throwable (from Exception) and overload with Error was removed in build 606 |
static int |
LoggingLevelFromString(java.lang.String value)
|
static java.lang.String |
LoggingLevelNameFromValue(int value)
|
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 or Warnings, this doesn't do anything Changed to Throwable (from Exception) in build 606 |
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 Changed to Throwable (from Exception) in build 606 |
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 |
MessageCategorized(int CategoryID)
A message was categorized into a particular category. |
void |
MessageProcessed(CMessage oMessage)
A message was processed Changed in build 595 |
void |
MessageSkipped()
A message was deleted without processing because the headers could not be loaded. |
void |
Shutdown()
Cleanup any resources you allocated during construction or operation. |
void |
ThreadKilled(int nThreadNumber,
java.util.Date dtLastUpdate)
A thread was killed because it was inactive for too long New in build 595 |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CMonitorBase()
Method Detail |
---|
public void Initialize(java.lang.String parameter) throws ResponseMasterException
IConfigurableItem
Initialize
in interface IConfigurableItem
ResponseMasterException
public void Shutdown()
IConfigurableItem
Shutdown
in interface IConfigurableItem
public void LogError(java.lang.String sMessage)
IMonitor
LogError
in interface IMonitor
sMessage
- The message to logpublic void LogError(java.lang.String sMessage, java.lang.Throwable e)
IMonitor
LogError
in interface IMonitor
sMessage
- The message to loge
- The Throwable to logpublic void LogWarning(java.lang.String sMessage)
IMonitor
LogWarning
in interface IMonitor
sMessage
- The message to logpublic void LogWarning(java.lang.String sMessage, java.lang.Throwable e)
IMonitor
LogWarning
in interface IMonitor
sMessage
- The message to loge
- The Throwable to logpublic void LogTrace(java.lang.String sMessage)
IMonitor
LogTrace
in interface IMonitor
sMessage
- The message to logpublic void LogTrace(java.lang.String sMessage, java.lang.Throwable e)
IMonitor
LogTrace
in interface IMonitor
sMessage
- The message to loge
- The Throwable to logpublic void LogSystem(java.lang.String sMessage)
IMonitor
LogSystem
in interface IMonitor
sMessage
- The message to logpublic void MessageProcessed(CMessage oMessage)
IMonitor
MessageProcessed
in interface IMonitor
public void MessageCategorized(int CategoryID)
IMonitor
MessageCategorized
in interface IMonitor
public void CategoryDefinitionsLoaded()
IMonitor
CategoryDefinitionsLoaded
in interface IMonitor
public void ThreadKilled(int nThreadNumber, java.util.Date dtLastUpdate)
IMonitor
ThreadKilled
in interface IMonitor
public void MessageSkipped()
IMonitor
MessageSkipped
in interface IMonitor
public void MailboxInitializationBegun(java.lang.String sMailboxName)
IMonitor
MailboxInitializationBegun
in interface IMonitor
sMailboxName
- The name of the mailboxpublic void MailboxInitializationFinished(java.lang.String sMailboxName)
IMonitor
MailboxInitializationFinished
in interface IMonitor
sMailboxName
- The name of the mailboxpublic void MailboxShutdownBegun(java.lang.String sMailboxName)
IMonitor
MailboxShutdownBegun
in interface IMonitor
sMailboxName
- The name of the mailboxpublic void MailboxShutdownFinished(java.lang.String sMailboxName)
IMonitor
MailboxShutdownFinished
in interface IMonitor
sMailboxName
- The name of the mailboxpublic void MailboxEmpty(java.lang.String sMailboxName)
IMonitor
MailboxEmpty
in interface IMonitor
sMailboxName
- The name of the mailboxpublic static java.lang.String LoggingLevelNameFromValue(int value)
public static int LoggingLevelFromString(java.lang.String value)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |