public class JSONBean extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
JSONBean.Writer
Use dumping out mbeans as JSON.
|
Constructor and Description |
---|
JSONBean() |
Modifier and Type | Method and Description |
---|---|
static void |
dumpAllBeans()
Dump out all registered mbeans as json on System.out.
|
static String |
dumpRegionServerMetrics()
Dump out a subset of regionserver mbeans only, not all of them, as json on System.out.
|
static void |
main(String[] args) |
JSONBean.Writer |
open(PrintWriter writer) |
public JSONBean.Writer open(PrintWriter writer) throws IOException
IOException
public static String dumpRegionServerMetrics() throws MalformedObjectNameException, IOException
public static void dumpAllBeans() throws IOException, MalformedObjectNameException
public static void main(String[] args) throws IOException, MalformedObjectNameException