Class EpicsChannelPollerStatistics

java.lang.Object
ch.psi.wica.controlsystem.epics.poller.EpicsChannelPollerStatistics
All Implemented Interfaces:
StatisticsCollectable

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

  • 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 polled.
      Returns:
      the list.
    • getStartRequests

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

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

      public String getActiveRequests()
      Returns the count of EPICS channel pollers 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.
    • getPollCycleCount

      public String getPollCycleCount()
      Returns the count of EPICS polling cycles.
      Returns:
      the result.
    • getPollSuccessCount

      public String getPollSuccessCount()
      Returns the count of EPICS polling cycles that have been successful.
      Returns:
      the result.
    • getPollFailureCount

      public String getPollFailureCount()
      Returns the count of EPICS polling cycles that have been failed.
      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.
    • incrementPollCycleCount

      void incrementPollCycleCount()
      Increments the count of polling cycles.
    • updatePollingResult

      void updatePollingResult(boolean success)
      Updates the polling result statistics.
      Parameters:
      success - token indicating whether the last poll attempt was successful.