public class JmxTransExporter extends Object
| Modifier and Type | Field and Description |
|---|---|
protected int |
collectInterval |
protected TimeUnit |
collectIntervalTimeUnit |
protected List<Invocation> |
invocations
visible for test
|
protected OutputWriter |
outputWriter
visible for test
|
protected List<Query> |
queries
visible for test
|
| Constructor and Description |
|---|
JmxTransExporter() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
collectAndExport() |
void |
start() |
void |
stop() |
String |
toString() |
JmxTransExporter |
withCollectInterval(int collectInterval,
TimeUnit collectIntervalTimeUnit) |
JmxTransExporter |
withInvocation(String objectName,
String operation,
String resultAlias) |
JmxTransExporter |
withOutputWriter(OutputWriter outputWriter) |
JmxTransExporter |
withQuery(String objectName,
String attribute,
String resultAlias) |
JmxTransExporter |
withQuery(String objectName,
String attribute,
String key,
String resultAlias) |
protected List<Invocation> invocations
protected OutputWriter outputWriter
protected int collectInterval
protected TimeUnit collectIntervalTimeUnit
public JmxTransExporter withQuery(String objectName, String attribute, String resultAlias)
public JmxTransExporter withQuery(String objectName, String attribute, String key, String resultAlias)
public JmxTransExporter withInvocation(String objectName, String operation, String resultAlias)
public JmxTransExporter withOutputWriter(OutputWriter outputWriter)
public JmxTransExporter withCollectInterval(int collectInterval, TimeUnit collectIntervalTimeUnit)
public void start()
public void stop()
protected void collectAndExport()
Copyright © 2013. All Rights Reserved.