diff options
Diffstat (limited to 'vespalog/src/main/java/com/yahoo/log/event/Histogram.java')
-rwxr-xr-x | vespalog/src/main/java/com/yahoo/log/event/Histogram.java | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/vespalog/src/main/java/com/yahoo/log/event/Histogram.java b/vespalog/src/main/java/com/yahoo/log/event/Histogram.java new file mode 100755 index 00000000000..219f801deb1 --- /dev/null +++ b/vespalog/src/main/java/com/yahoo/log/event/Histogram.java @@ -0,0 +1,17 @@ +// Copyright 2016 Yahoo Inc. 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); + } +} |