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

public class Histogram extends Event {
    public Histogram () {
    }

    public Histogram (String name, String value, String representation) {
        init(name, value, representation);
    }

    private void init (String name, String value, String representation) {
        setValue("name", name);
        setValue("counts", value);
        setValue("representation", representation);
    }
}