Interface PdhCounterProperty

All Known Implementing Classes:
MemoryInformation.PageSwapProperty, PagingFile.PagingPercentProperty, ProcessInformation.HandleCountProperty, ProcessorInformation.InterruptsProperty, ProcessorInformation.SystemTickCountProperty, SystemInformation.ContextSwitchProperty, SystemInformation.ProcessorQueueLengthProperty

public interface PdhCounterProperty
Contract for Counter Property Enums. Enums implementing this interface define a specific PDH counter instance and counter name pair.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the PDH counter name.
    Gets the PDH counter instance name.
  • Method Details

    • getInstance

      String getInstance()
      Gets the PDH counter instance name.
      Returns:
      Returns the instance.
    • getCounter

      String getCounter()
      Gets the PDH counter name.
      Returns:
      Returns the counter.