Klasse ApiMetrics


@Entity public class ApiMetrics extends PersistentObject
Collect production metrics
Autor:
Ernst Melchinger
  • Konstruktordetails

    • ApiMetrics

      public ApiMetrics()
  • Methodendetails

    • getName

      public String getName()
      Gibt zurück:
      the name
    • getTimestamp

      public Instant getTimestamp()
      Gibt zurück:
      the timestamp
    • getMetrictype

      public MetricType getMetrictype()
      Gibt zurück:
      the metrictype
    • getGauge

      public String getGauge()
      Gibt zurück:
      the gauge
    • getCount

      public long getCount()
      Gibt zurück:
      the count
    • setName

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

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

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

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

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