@Retention(value=RUNTIME) @Target(value=METHOD) public @interface MonitoringData
MonitoringDataSource.collect(MonitoringDataCollector) method to customise the
collection.| Modifier and Type | Required Element and Description |
|---|---|
String |
ns
This is equivalent to
MonitoringDataCollector.in(CharSequence) with the same argument applied to the
MonitoringDataCollector before passed to the collected MonitoringDataSource. |
| Modifier and Type | Optional Element and Description |
|---|---|
int |
intervalSeconds |
boolean |
optional
This is the initial setting for the annotated
MonitoringDataSource that can be changed similar to other
server configurations. |
public abstract String ns
MonitoringDataCollector.in(CharSequence) with the same argument applied to the
MonitoringDataCollector before passed to the collected MonitoringDataSource.
This name-space is also used when controlling the set of enabled/disabled sources via configuration.
MonitoringDataSources without an annotation are always collected no matter what name-space they might use
in the implementation.MonitoringDataSource.public abstract int intervalSeconds
MonitoringDataSourcepublic abstract boolean optional
MonitoringDataSource that can be changed similar to other
server configurations.MonitoringDataSource should not be collected by defaultCopyright © 2020. All rights reserved.