Class AbstractSystemMetric

java.lang.Object
org.qubership.profiler.metrics.AbstractSystemMetric
All Implemented Interfaces:
org.qubership.profiler.agent.BaseMetric, org.qubership.profiler.agent.SystemMetric
Direct Known Subclasses:
DirtyBuffersMetric, EmptyBuffersMetric

public abstract class AbstractSystemMetric extends Object implements org.qubership.profiler.agent.SystemMetric
  • Field Details

  • Constructor Details

    • AbstractSystemMetric

      public AbstractSystemMetric(String name, MetricUnit metricUnit)
  • Method Details

    • getKey

      public String getKey()
      Specified by:
      getKey in interface org.qubership.profiler.agent.BaseMetric
    • setKey

      public void setKey(String key)
      Specified by:
      setKey in interface org.qubership.profiler.agent.BaseMetric
    • buildKey

      protected String buildKey(String name, MetricUnit metricUnit)
    • getValue

      protected abstract String getValue()
    • print

      public void print(StringBuilder out)
      Specified by:
      print in interface org.qubership.profiler.agent.BaseMetric