summaryrefslogtreecommitdiffstats
path: root/metrics/src/test/java/com/yahoo/metrics/AveragedLongValueMetric.java
blob: 5f743c6c75f28097dbb5ff82a20edd80583c49a1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.metrics;

/**
 * @author <a href="mailto:simon@yahoo-inc.com">Simon Thoresen Hult</a>
 */
class AveragedLongValueMetric extends ValueMetric<Long> {

    public AveragedLongValueMetric(String name, String tags, String description, MetricSet owner) {
        super(name, tags, description, owner);
        averageMetric();
        createAverageOnJoin();
    }

    public AveragedLongValueMetric(AveragedLongValueMetric other, CopyType copyType, MetricSet owner) {
        super(other, copyType, owner);
    }
}