Class AbstractSystemMetric

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

public abstract class AbstractSystemMetric extends Object implements com.netcracker.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 com.netcracker.profiler.agent.BaseMetric
    • setKey

      public void setKey(String key)
      Specified by:
      setKey in interface com.netcracker.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 com.netcracker.profiler.agent.BaseMetric