public class DumpAttributes extends Object
DumpAttributes
class allows to watch all JMX attributes of a
specified domain and store the corresponding values in a file.Modifier and Type | Field and Description |
---|---|
static org.objectweb.util.monolog.api.Logger |
logger |
Constructor and Description |
---|
DumpAttributes() |
Modifier and Type | Method and Description |
---|---|
(package private) static void |
addRecord(StringBuffer strbuf,
String mbean,
String att,
Object value)
Records information about the specified attribute.
|
static void |
dumpAttributes(String name,
String path) |
static void addRecord(StringBuffer strbuf, String mbean, String att, Object value)
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.Copyright © 2015 ScalAgent D.T.. All Rights Reserved.