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 StringBuffer |
dumpAllStackTraces(StringBuffer dump)
Adds a complete Thread dump to the StringBuilder given in parameter.
|
static StringBuffer |
dumpAttributes(String name,
StringBuffer strbuf) |
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.public static StringBuffer dumpAllStackTraces(StringBuffer dump)
dump
- The StringBuilder to append.public static StringBuffer dumpAttributes(String name, StringBuffer strbuf)
Copyright © 2021 ScalAgent D.T.. All rights reserved.