Jagger
|
Class to describe metric. More...
Public Member Functions | |
MetricDescription | addAggregator (MetricAggregatorProvider aggregator) |
Append new aggregator to list of metric aggregator. More... | |
MetricDescription | addAggregator (MetricAggregatorProvider aggregator, MetricAggregatorSettings settings) |
Append new aggregator to list of metric aggregator with settings. More... | |
MetricDescription | displayName (String displayName) |
Setter for metric display name. More... | |
List< MetricAggregatorProvider > | getAggregators () |
Getter for metric aggregators. More... | |
Map< MetricAggregatorProvider, MetricAggregatorSettings > | getAggregatorsWithSettings () |
Getter for metric aggregators with settings. More... | |
String | getDisplayName () |
Getter for metric display name. More... | |
String | getMetricId () |
Getter for metric ID. More... | |
boolean | getPlotData () |
Getter for metric "plot data" boolean parameter. More... | |
boolean | getShowSummary () |
Getter for metric "show summary" boolean parameter. More... | |
MetricDescription (String metricId) | |
Constructor. More... | |
MetricDescription | plotData (boolean plotData) |
Setter for metric "plot data" boolean parameter. More... | |
void | setAggregators (List< MetricAggregatorProvider > aggregators) |
Setter for metric aggregators. More... | |
void | setAggregatorsWithSettings (Map< MetricAggregatorProvider, MetricAggregatorSettings > aggregatorsWithSettings) |
Setter for metric aggregators with settings. More... | |
void | setDisplayName (String displayName) |
Setter for metric display name. More... | |
void | setMetricId (String metricId) |
Setter for metric ID. More... | |
void | setPlotData (boolean plotData) |
Setter for metric "plot data" boolean parameter. More... | |
void | setShowSummary (boolean showSummary) |
Setter for metric "show summary" boolean parameter. More... | |
MetricDescription | showSummary (boolean showSummary) |
Setter for metric "show summary" boolean parameter. More... | |
Protected Attributes | |
Map< MetricAggregatorProvider, MetricAggregatorSettings > | aggregatorsWithSettings = Maps.newHashMap() |
String | displayName |
String | id |
boolean | plotData |
boolean | showSummary = true |
Class to describe metric.
Example of metric setup and creation with use of metric service
Definition at line 17 of file MetricDescription.java.