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
|
protected ResultNameStrategy |
resultNameStrategy |
| 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,
Integer position,
String type,
String resultAlias) |
protected List<Invocation> invocations
protected OutputWriter outputWriter
protected ResultNameStrategy resultNameStrategy
protected int collectInterval
protected TimeUnit collectIntervalTimeUnit
public JmxTransExporter withQuery(@Nonnull String objectName, @Nonnull String attribute, @Nullable String resultAlias)
public JmxTransExporter withQuery(@Nonnull String objectName, @Nonnull String attribute, @Nullable String key, @Nullable Integer position, @Nullable String type, @Nullable String resultAlias)
public JmxTransExporter withInvocation(@Nonnull String objectName, @Nonnull String operation, @Nullable String resultAlias)
public JmxTransExporter withOutputWriter(OutputWriter outputWriter)
public JmxTransExporter withCollectInterval(int collectInterval, @Nonnull TimeUnit collectIntervalTimeUnit)
public void start()
public void stop()
protected void collectAndExport()
Copyright © 2015. All Rights Reserved.