com.extrememessaging.ResponseMaster.monitor
Interface IMonitor

All Superinterfaces:
IConfigurableItem
All Known Implementing Classes:
CLogger, CLoggerMBean, CMonitorBase, CStatisticalMonitorBase, DBLogger, EmailMonitor, HistoricalCharts, MonitorLog4j, MonitorMBean

public interface IMonitor
extends IConfigurableItem

The interface you need to implement to create a custom monitoring class. Typically, you'll want to derive from CMonitorBase instead of implementing the interface directly.


Method Summary
 void CategoryDefinitionsLoaded()
          The category definition file finished loading New in build 595.
 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
 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 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 interface com.extrememessaging.ResponseMaster.IConfigurableItem
Initialize, Shutdown
 

Method Detail

LogError

void LogError(java.lang.String sMessage)
Log an error

Parameters:
sMessage - The message to log

LogError

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

Parameters:
sMessage - The message to log
e - The Throwable to log

LogWarning

void LogWarning(java.lang.String sMessage)
Log a warning If the logging level is Errors, this doesn't do anything

Parameters:
sMessage - The message to log

LogWarning

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

Parameters:
sMessage - The message to log
e - The Throwable to log

LogTrace

void LogTrace(java.lang.String sMessage)
Log a tracing message If the logging level is Errors or Warnings, this doesn't do anything

Parameters:
sMessage - The message to log

LogTrace

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

Parameters:
sMessage - The message to log
e - The Throwable to log

LogSystem

void LogSystem(java.lang.String sMessage)
Log a system message

Parameters:
sMessage - The message to log

MessageProcessed

void MessageProcessed(CMessage oMessage)
A message was processed Changed in build 595


MessageCategorized

void MessageCategorized(int CategoryID)
A message was categorized into a particular category. New in build 595.


CategoryDefinitionsLoaded

void CategoryDefinitionsLoaded()
The category definition file finished loading New in build 595.


ThreadKilled

void ThreadKilled(int nThreadNumber,
                  java.util.Date dtLastUpdate)
A thread was killed because it was inactive for too long New in build 595


MessageSkipped

void MessageSkipped()
A message was deleted without processing because the headers could not be loaded. New in build 595


MailboxInitializationBegun

void MailboxInitializationBegun(java.lang.String sMailboxName)
The mailbox initialization process started for a particular mailbox New in build 627

Parameters:
sMailboxName - The name of the mailbox

MailboxInitializationFinished

void MailboxInitializationFinished(java.lang.String sMailboxName)
The mailbox initialization process completed for a particular mailbox New in build 627

Parameters:
sMailboxName - The name of the mailbox

MailboxShutdownBegun

void MailboxShutdownBegun(java.lang.String sMailboxName)
The mailbox shutdown process began for a particular mailbox New in build 627

Parameters:
sMailboxName - The name of the mailbox

MailboxShutdownFinished

void MailboxShutdownFinished(java.lang.String sMailboxName)
The mailbox shutdown process finished for a particular mailbox New in build 627

Parameters:
sMailboxName - The name of the mailbox

MailboxEmpty

void MailboxEmpty(java.lang.String sMailboxName)
This is fired every time we check the mailbox for messages, and we find that it is empty. Note: It can fire multiple times without the mailbox getting messages in between. New in build 627

Parameters:
sMailboxName - The name of the mailbox