fr.dyade.aaa.common.monitoring
Class DumpAttributes
java.lang.Object
fr.dyade.aaa.common.monitoring.DumpAttributes
public class DumpAttributes
- extends java.lang.Object
The DumpAttributes
class allows to watch all JMX attributes of a
specified domain and store the corresponding values in a file.
Field Summary |
static org.objectweb.util.monolog.api.Logger |
logger
|
Method Summary |
(package private) static void |
addRecord(java.lang.StringBuffer strbuf,
javax.management.ObjectName mbean,
java.lang.String att,
java.lang.Object value)
Records information about the specified attribute. |
static void |
dumpAttributes(java.lang.String name,
java.lang.String path)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
public static org.objectweb.util.monolog.api.Logger logger
DumpAttributes
public DumpAttributes()
addRecord
static void addRecord(java.lang.StringBuffer strbuf,
javax.management.ObjectName mbean,
java.lang.String att,
java.lang.Object value)
- Records information about the specified attribute.
- Parameters:
strbuf
- A StringBuffer to write into.mbean
- The name of the related mbean.att
- The name of the related attribute.value
- The value of the related attribute.
dumpAttributes
public static void dumpAttributes(java.lang.String name,
java.lang.String path)
Copyright © 2010 ScalAgent D.T.. All Rights Reserved.