Class EpicsChannelMetadataStatistics

java.lang.Object
ch.psi.wica.controlsystem.epics.metadata.EpicsChannelMetadataStatistics
All Implemented Interfaces:
StatisticsCollectable

@ThreadSafe public class EpicsChannelMetadataStatistics extends Object implements StatisticsCollectable
Provides the statistics associated with EPICS channel's metadata.
  • Constructor Details

    • EpicsChannelMetadataStatistics

      public EpicsChannelMetadataStatistics(List<EpicsChannelMetadataRequest> requestList)
      Creates a new instance based on the supplied channel metadata list.
      Parameters:
      requestList - the list.
  • Method Details

    • get

      Description copied from interface: StatisticsCollectable
      Returns the statistics associated with the collectable.
      Specified by:
      get in interface StatisticsCollectable
      Returns:
      the statistics.
    • reset

      public void reset()
      Description copied from interface: StatisticsCollectable
      Resets the statistics.
      Specified by:
      reset in interface StatisticsCollectable
    • getChannelNames

      public List<String> getChannelNames()
      Returns the channel names.
      Returns:
      the channel names.
    • getStartRequests

      public String getStartRequests()
      Returns a string representation of the number of start requests.
      Returns:
      the result.
    • getStopRequests

      public String getStopRequests()
      Returns a string representation of the number of stop requests.
      Returns:
      the result.
    • getActiveChannels

      public String getActiveChannels()
      Returns a string representation of the number of active channels.
      Returns:
      the result.
    • getChannelConnectCount

      public String getChannelConnectCount()
      Returns a string representation of the number of connected channels.
      Returns:
      the result.
    • incrementStartRequests

      void incrementStartRequests()
      Increments the count of start requests.
    • incrementStopRequests

      void incrementStopRequests()
      Increments the count of stop requests.
    • incrementChannelConnectCount

      void incrementChannelConnectCount()
      Increments the count of connected channels.