public class JEMonitor extends JEMBean implements DynamicMBean
JEMonitor is a JMX MBean which makes statistics and basic administrative operations available. The MBean is registered and enabled when the system property JEMonitor is set. It only works on an active JE Environment, and an Environment can only register one instance of JEMonitor.
| Modifier and Type | Field and Description |
|---|---|
static String |
ATT_CACHE_PERCENT |
static String |
ATT_CACHE_SIZE |
static String |
ATT_ENV_HOME |
static String |
ATT_IS_READ_ONLY |
static String |
ATT_IS_SERIALIZABLE |
static String |
ATT_IS_TRANSACTIONAL |
static String |
ATT_LOCK_TIMEOUT |
static String |
ATT_TXN_TIMEOUT |
className, currentClass, DESCRIPTION, env, jeName, operationList, server, statParams| Modifier | Constructor and Description |
|---|---|
|
JEMonitor() |
protected |
JEMonitor(Environment env) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addOperations()
Add MBean operations into the list.
|
protected void |
doRegisterMBean(Environment env) |
Object |
getAttribute(String attributeName) |
protected MBeanAttributeInfo[] |
getAttributeList()
Get attribute metadata for this MBean.
|
AttributeList |
getAttributes(String[] attributes) |
protected void |
initClassFields() |
Object |
invoke(String actionName,
Object[] params,
String[] signature) |
void |
setAttribute(Attribute attribute) |
AttributeList |
setAttributes(AttributeList attributes) |
doRegister, doUnregister, getConstructors, getMBeanInfo, getNotificationInfo, getStatsConfig, resetMBeanInfoclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetMBeanInfopublic static final String ATT_ENV_HOME
public static final String ATT_IS_READ_ONLY
public static final String ATT_IS_TRANSACTIONAL
public static final String ATT_CACHE_SIZE
public static final String ATT_CACHE_PERCENT
public static final String ATT_LOCK_TIMEOUT
public static final String ATT_IS_SERIALIZABLE
public static final String ATT_TXN_TIMEOUT
protected JEMonitor(Environment env)
public JEMonitor()
protected void initClassFields()
initClassFields in class JEMBeanpublic Object getAttribute(String attributeName) throws AttributeNotFoundException, MBeanException
getAttribute in interface DynamicMBeanAttributeNotFoundExceptionMBeanExceptionDynamicMBean.getAttribute(java.lang.String)public void setAttribute(Attribute attribute) throws AttributeNotFoundException, InvalidAttributeValueException, MBeanException
setAttribute in interface DynamicMBeanAttributeNotFoundExceptionInvalidAttributeValueExceptionMBeanExceptionDynamicMBean.setAttribute(javax.management.Attribute)public AttributeList getAttributes(String[] attributes)
getAttributes in interface DynamicMBeanDynamicMBean.getAttributes(java.lang.String[])public AttributeList setAttributes(AttributeList attributes)
setAttributes in interface DynamicMBeanDynamicMBean.setAttributes(javax.management.AttributeList)public Object invoke(String actionName, Object[] params, String[] signature) throws MBeanException
invoke in interface DynamicMBeanMBeanExceptionDynamicMBean.invoke(java.lang.String, java.lang.Object[], java.lang.String[])protected void doRegisterMBean(Environment env) throws Exception
doRegisterMBean in class JEMBeanExceptionprotected MBeanAttributeInfo[] getAttributeList()
JEMBeangetAttributeList in class JEMBeanprotected void addOperations()
JEMBeanaddOperations in class JEMBeanCopyright (c) 2004, 2013 Oracle and/or its affiliates. All rights reserved.