com.cloudtran.jmx
Class AbstractJMXHelper

java.lang.Object
  extended by com.cloudtran.jmx.AbstractJMXHelper

public abstract class AbstractJMXHelper
extends Object

Base class for registering JMX beans. Specific IMDG implementations may extend this class and add they own specific JMX bean registration.


Nested Class Summary
static class AbstractJMXHelper.Module
           
static class AbstractJMXHelper.OS
           
 
Field Summary
static String JMX_NAME_PREFIX
           
 
Constructor Summary
AbstractJMXHelper(AbstractJMXHelper.Module module)
           
 
Method Summary
static AbstractJMXHelper.OS getOs()
          causes a fatal error if we don't know the OS type.
static void main(String[] args)
           
 void registerClientTimesReporter()
           
 void registerCloudTranBaseReporter(com.cloudtran.txb.AbstractTxBufferManager txBufferManager)
          This method will register all the JMX beans what we want to see on the GUI
 void registerCoordinatorLifeCycleReporter(com.cloudtran.txb.AbstractTxBufferManager txBufferManager)
          Registers a Jmx bean which gives information about the lifecycle of the Coordinator, the bean will also contain operations e.g.: shutdown.
 void registerDatasourceReporter(String datasourceUrl, LinkedBlockingQueue<com.cloudtran.persist.AbstractPerDataSourceQueueEntry> queue, DSSummaryHelper summaryHelper)
          Registers a datasource reporter bean.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

JMX_NAME_PREFIX

public static final String JMX_NAME_PREFIX
See Also:
Constant Field Values
Constructor Detail

AbstractJMXHelper

public AbstractJMXHelper(AbstractJMXHelper.Module module)
Method Detail

registerClientTimesReporter

public void registerClientTimesReporter()

registerCloudTranBaseReporter

public void registerCloudTranBaseReporter(com.cloudtran.txb.AbstractTxBufferManager txBufferManager)
This method will register all the JMX beans what we want to see on the GUI


registerCoordinatorLifeCycleReporter

public void registerCoordinatorLifeCycleReporter(com.cloudtran.txb.AbstractTxBufferManager txBufferManager)
Registers a Jmx bean which gives information about the lifecycle of the Coordinator, the bean will also contain operations e.g.: shutdown.


registerDatasourceReporter

public void registerDatasourceReporter(String datasourceUrl,
                                       LinkedBlockingQueue<com.cloudtran.persist.AbstractPerDataSourceQueueEntry> queue,
                                       DSSummaryHelper summaryHelper)
Registers a datasource reporter bean.

Parameters:
datasourceUrl -
queue -

getOs

public static AbstractJMXHelper.OS getOs()
causes a fatal error if we don't know the OS type. Is that right?


main

public static void main(String[] args)