001package io.ebean.meta;
002
003/**
004 * An individual metric.
005 */
006public class MetricData {
007
008  private String name;
009  private String hash;
010  private String loc;
011  private String sql;
012
013  private Long count;
014  private Long mean;
015  private Long max;
016  private Long total;
017
018  public MetricData(String name) {
019    this.name = name;
020  }
021
022  public MetricData() {
023  }
024
025  public String getName() {
026    return name;
027  }
028
029  public void setName(String name) {
030    this.name = name;
031  }
032
033  public String getHash() {
034    return hash;
035  }
036
037  public void setHash(String hash) {
038    this.hash = hash;
039  }
040
041  public String getLoc() {
042    return loc;
043  }
044
045  public void setLoc(String loc) {
046    this.loc = loc;
047  }
048
049  public String getSql() {
050    return sql;
051  }
052
053  public void setSql(String sql) {
054    this.sql = sql;
055  }
056
057  public Long getCount() {
058    return count;
059  }
060
061  public void setCount(Long count) {
062    this.count = count;
063  }
064
065  public Long getMean() {
066    return mean;
067  }
068
069  public void setMean(Long mean) {
070    this.mean = mean;
071  }
072
073  public Long getMax() {
074    return max;
075  }
076
077  public void setMax(Long max) {
078    this.max = max;
079  }
080
081  public Long getTotal() {
082    return total;
083  }
084
085  public void setTotal(Long total) {
086    this.total = total;
087  }
088}