Uses of Class
com.atlassian.util.profiling.MetricKey
Packages that use MetricKey
-
Uses of MetricKey in com.atlassian.util.profiling
Methods in com.atlassian.util.profiling that return MetricKeyModifier and TypeMethodDescriptionstatic MetricKeystatic MetricKeyMetricKey.metricKey(String metricName, MetricTag.RequiredMetricTag... tags) static MetricKeyMetricKey.metricKey(String metricName, Collection<MetricTag.RequiredMetricTag> tags) Methods in com.atlassian.util.profiling with parameters of type MetricKeyModifier and TypeMethodDescriptionstatic voidMetrics.resetMetric(MetricKey metricKey) Resets (that may mean removal depending on the metric strategy) a specific metric that exactly matches aMetricKey. -
Uses of MetricKey in com.atlassian.util.profiling.strategy
Methods in com.atlassian.util.profiling.strategy with parameters of type MetricKeyModifier and TypeMethodDescriptiondefault voidMetricStrategy.incrementCounter(MetricKey metricKey, long deltaValue) Does not guarantee safety from lost-updates, check implementations.default voidMetricStrategy.incrementGauge(MetricKey metricKey, long deltaValue) Does not guarantee safety from lost-updates, check implementations.default voidMetricStrategy.resetMetric(MetricKey metricKey) Resets (that may mean removal depending on the metric strategy) a specific metric that exactly matches aMetricKey.default voidCalled to set the gauge by the value.default TickerMetricStrategy.startLongRunningTimer(MetricKey metricKey) Called to time something that is long-running and could benefit from periodic updates on the timer duration.default TickerMetricStrategy.startTimer(MetricKey metricKey) Called to mark the end of a block of code for which metrics should be calculated.default voidMetricStrategy.updateHistogram(MetricKey metricKey, long value) Called when a histogram isupdated.default voidMetricStrategy.updateTimer(MetricKey metricKey, Duration time) Called when a metric isupdated.