Class EpicsChannelMonitorStatistics

java.lang.Object
ch.psi.wica.controlsystem.epics.monitor.EpicsChannelMonitorStatistics
All Implemented Interfaces:
StatisticsCollectable

@ThreadSafe public class EpicsChannelMonitorStatistics extends Object implements StatisticsCollectable
Provides statistics related to the EPICS channel monitoring.
  • Constructor Details

    • EpicsChannelMonitorStatistics

      public EpicsChannelMonitorStatistics(List<EpicsChannelMonitorRequest> requestList)
      Creates a new EPICS channel monitoring statistics collector.
      Parameters:
      requestList - initial list of monitor requests.
  • 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 names of the channels being monitored.
      Returns:
      the list.
    • getStartRequests

      public String getStartRequests()
      Returns the count of received EPICS channel monitor start requests.
      Returns:
      the result.
    • getStopRequests

      public String getStopRequests()
      Returns the count of received EPICS channel monitor stop requests.
      Returns:
      the result.
    • getActiveRequests

      public String getActiveRequests()
      Returns the count of EPICS channel monitors that are currently active.
      Returns:
      the result.
    • getChannelConnectCount

      public String getChannelConnectCount()
      Returns the count of connected EPICS channels.
      Returns:
      the result.
    • getChannelDisconnectCount

      public String getChannelDisconnectCount()
      Returns the count of disconnected EPICS channels.
      Returns:
      the result.
    • getMonitorUpdateCount

      public String getMonitorUpdateCount()
      Returns the count of received EPICS monitor updates.
      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.
    • incrementChannelDisconnectCount

      void incrementChannelDisconnectCount()
      Increments the count of disconnected channels.
    • incrementMonitorUpdateCount

      void incrementMonitorUpdateCount()
      Increments the count of monitor updates.