com.extrememessaging.ResponseMaster
Class CMonitorManager

java.lang.Object
  extended by com.extrememessaging.ResponseMaster.CMonitorManager

public class CMonitorManager
extends java.lang.Object

This class manages the set of monitoring objects All the methods are currently static


Constructor Summary
CMonitorManager()
           
 
Method Summary
static void CategoryDefinitionsLoaded()
           
static boolean JMXEnabled()
          True if JMX is enabled
static void LogError(java.lang.String sMessage)
           
static void LogError(java.lang.String sMessage, java.lang.Throwable e)
           
static void LogSystem(java.lang.String sMessage)
           
static void LogTrace(java.lang.String sMessage)
           
static void LogTrace(java.lang.String sMessage, java.lang.Throwable e)
           
static void LogWarning(java.lang.String sMessage)
           
static void LogWarning(java.lang.String sMessage, java.lang.Throwable e)
           
static void MailboxEmpty(java.lang.String sMailboxName)
           
static void MailboxInitializationBegun(java.lang.String sMailboxName)
           
static void MailboxInitializationFinished(java.lang.String sMailboxName)
           
static void MailboxShutdownBegun(java.lang.String sMailboxName)
           
static void MailboxShutdownFinished(java.lang.String sMailboxName)
           
static boolean ManageLoggerWithJMX()
          True if we should allow the logging level to be controlled at runtime through JMX
static boolean ManageWithJMX()
          True if we should expose ResponseMaster's main management interface through JMX
static void MessageCategorized(int CategoryID)
           
static void MessageProcessed(CMessage oMessage)
           
static void MessageSkipped()
           
static boolean MonitorMailboxesWithJMX()
          True if we should expose mailbox information via JMX
static boolean MonitorMailboxThreadsWithJMX()
          True if we should expose mailbox thread information via JMX
static boolean MonitorWithJMX()
          True if we should expose ResponseMaster's statistical monitoring information through JMX
static void ReadFromFile(java.lang.String sFileName)
          Read the list of monitors from the file
static void Shutdown()
          Everything else should already be shutdown before you call this
static void ThreadKilled(int nThreadNumber, java.util.Date dtLastUpdate)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CMonitorManager

public CMonitorManager()
Method Detail

ReadFromFile

public static void ReadFromFile(java.lang.String sFileName)
                         throws ResponseMasterException
Read the list of monitors from the file

Throws:
ResponseMasterException

JMXEnabled

public static boolean JMXEnabled()
True if JMX is enabled


MonitorMailboxThreadsWithJMX

public static boolean MonitorMailboxThreadsWithJMX()
True if we should expose mailbox thread information via JMX


MonitorMailboxesWithJMX

public static boolean MonitorMailboxesWithJMX()
True if we should expose mailbox information via JMX


ManageLoggerWithJMX

public static boolean ManageLoggerWithJMX()
True if we should allow the logging level to be controlled at runtime through JMX


ManageWithJMX

public static boolean ManageWithJMX()
True if we should expose ResponseMaster's main management interface through JMX


MonitorWithJMX

public static boolean MonitorWithJMX()
True if we should expose ResponseMaster's statistical monitoring information through JMX


LogError

public static void LogError(java.lang.String sMessage)

LogError

public static void LogError(java.lang.String sMessage,
                            java.lang.Throwable e)

LogWarning

public static void LogWarning(java.lang.String sMessage)

LogWarning

public static void LogWarning(java.lang.String sMessage,
                              java.lang.Throwable e)

LogTrace

public static void LogTrace(java.lang.String sMessage)

LogTrace

public static void LogTrace(java.lang.String sMessage,
                            java.lang.Throwable e)

LogSystem

public static void LogSystem(java.lang.String sMessage)

MessageProcessed

public static void MessageProcessed(CMessage oMessage)

MessageCategorized

public static void MessageCategorized(int CategoryID)

CategoryDefinitionsLoaded

public static void CategoryDefinitionsLoaded()

ThreadKilled

public static void ThreadKilled(int nThreadNumber,
                                java.util.Date dtLastUpdate)

MessageSkipped

public static void MessageSkipped()

MailboxInitializationBegun

public static void MailboxInitializationBegun(java.lang.String sMailboxName)

MailboxInitializationFinished

public static void MailboxInitializationFinished(java.lang.String sMailboxName)

MailboxShutdownBegun

public static void MailboxShutdownBegun(java.lang.String sMailboxName)

MailboxShutdownFinished

public static void MailboxShutdownFinished(java.lang.String sMailboxName)

MailboxEmpty

public static void MailboxEmpty(java.lang.String sMailboxName)

Shutdown

public static void Shutdown()
Everything else should already be shutdown before you call this