Class ApiMetrics


@Entity public class ApiMetrics extends PersistentObject
Collect production metrics
Author:
Ernst Melchinger
  • Constructor Details

    • ApiMetrics

      public ApiMetrics()
  • Method Details

    • getName

      public String getName()
      Returns:
      the name
    • getTimestamp

      public Instant getTimestamp()
      Returns:
      the timestamp
    • getMetrictype

      public MetricType getMetrictype()
      Returns:
      the metrictype
    • getGauge

      public String getGauge()
      Returns:
      the gauge
    • getCount

      public long getCount()
      Returns:
      the count
    • setName

      public void setName(String name)
      Parameters:
      name - the name to set
    • setTimestamp

      public void setTimestamp(Instant timestamp)
      Parameters:
      timestamp - the timestamp to set
    • setMetrictype

      public void setMetrictype(MetricType metrictype)
      Parameters:
      metrictype - the metrictype to set
    • setGauge

      public void setGauge(String gauge)
      Parameters:
      gauge - the gauge to set
    • setCount

      public void setCount(long count)
      Parameters:
      count - the count to set