Class PerfDataUtil.PerfCounter

java.lang.Object
oshi.util.platform.windows.PerfDataUtil.PerfCounter
Enclosing class:
PerfDataUtil

@Immutable public static class PerfDataUtil.PerfCounter extends Object
Encapsulates the three string components of a performance counter
  • Constructor Details

    • PerfCounter

      public PerfCounter(String objectName, String instanceName, String counterName)
  • Method Details

    • getObject

      public String getObject()
      Returns:
      Returns the object.
    • getInstance

      public String getInstance()
      Returns:
      Returns the instance.
    • getCounter

      public String getCounter()
      Returns:
      Returns the counter.
    • isBaseCounter

      public boolean isBaseCounter()
      Returns:
      Returns whether the counter is a base counter
    • getCounterPath

      public String getCounterPath()
      Returns the path for this counter
      Returns:
      A string representing the counter path