com.sleepycat.je.rep.jmx
Class RepJEMonitor

java.lang.Object
  extended by com.sleepycat.je.jmx.JEMBean
      extended by com.sleepycat.je.jmx.JEMonitor
          extended by com.sleepycat.je.rep.jmx.RepJEMonitor
All Implemented Interfaces:
EnvironmentImpl.MBeanRegistrar, DynamicMBean

public class RepJEMonitor
extends JEMonitor

A concrete MBean for monitoring a replicated open JE Environment. It not only has the same attributes and operations as the standalone JEMonitor, but also has some special replicated related operations.


Field Summary
static String OP_DUMP_REPSTATS
           
(package private) static String OP_DUMP_STATE
           
static String OP_GET_REP_TIPS
           
 
Fields inherited from class com.sleepycat.je.jmx.JEMonitor
ATT_CACHE_PERCENT, ATT_CACHE_SIZE, ATT_ENV_HOME, ATT_IS_READ_ONLY, ATT_IS_SERIALIZABLE, ATT_IS_TRANSACTIONAL, ATT_LOCK_TIMEOUT, ATT_TXN_TIMEOUT, OP_ENV_STAT, OP_GET_TIPS
 
Fields inherited from class com.sleepycat.je.jmx.JEMBean
className, currentClass, DESCRIPTION, env, jeName, operationList, server, statParams
 
Constructor Summary
  RepJEMonitor()
           
protected RepJEMonitor(Environment env)
           
 
Method Summary
protected  void addOperations()
          Add MBean operations into the list.
protected  void doRegisterMBean(Environment useEnv)
           
protected  void initClassFields()
           
 Object invoke(String actionName, Object[] params, String[] signature)
           
 
Methods inherited from class com.sleepycat.je.jmx.JEMonitor
getAttribute, getAttributeList, getAttributes, setAttribute, setAttributes
 
Methods inherited from class com.sleepycat.je.jmx.JEMBean
doRegister, doUnregister, getConstructors, getMBeanInfo, getNotificationInfo, getStatsConfig, resetMBeanInfo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.management.DynamicMBean
getMBeanInfo
 

Field Detail

OP_DUMP_REPSTATS

public static final String OP_DUMP_REPSTATS
See Also:
Constant Field Values

OP_GET_REP_TIPS

public static final String OP_GET_REP_TIPS
See Also:
Constant Field Values

OP_DUMP_STATE

static final String OP_DUMP_STATE
See Also:
Constant Field Values
Constructor Detail

RepJEMonitor

protected RepJEMonitor(Environment env)

RepJEMonitor

public RepJEMonitor()
Method Detail

initClassFields

protected void initClassFields()
Overrides:
initClassFields in class JEMonitor

invoke

public Object invoke(String actionName,
                     Object[] params,
                     String[] signature)
              throws MBeanException
Specified by:
invoke in interface DynamicMBean
Overrides:
invoke in class JEMonitor
Throws:
MBeanException
See Also:
DynamicMBean.invoke(java.lang.String, java.lang.Object[], java.lang.String[])

doRegisterMBean

protected void doRegisterMBean(Environment useEnv)
                        throws Exception
Overrides:
doRegisterMBean in class JEMonitor
Throws:
Exception

addOperations

protected void addOperations()
Description copied from class: JEMBean
Add MBean operations into the list.

Overrides:
addOperations in class JEMonitor


Copyright (c) 2004-2012 Oracle. All rights reserved.