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.
-
Nested Class Summary
Nested classes/interfaces inherited from interface ch.psi.wica.model.app.StatisticsCollectable
StatisticsCollectable.Statistics, StatisticsCollectable.StatisticsItem
-
Constructor Summary
ConstructorsConstructorDescriptionEpicsChannelMonitorStatistics
(List<EpicsChannelMonitorRequest> requestList) Creates a new EPICS channel monitoring statistics collector. -
Method Summary
Modifier and TypeMethodDescriptionget()
Returns the statistics associated with the collectable.Returns the count of EPICS channel monitors that are currently active.Returns the count of connected EPICS channels.Returns the count of disconnected EPICS channels.Returns the names of the channels being monitored.Returns the count of received EPICS monitor updates.Returns the count of received EPICS channel monitor start requests.Returns the count of received EPICS channel monitor stop requests.(package private) void
Increments the count of connected channels.(package private) void
Increments the count of disconnected channels.(package private) void
Increments the count of monitor updates.(package private) void
Increments the count of start requests.(package private) void
Increments the count of stop requests.void
reset()
Resets the statistics.
-
Constructor Details
-
EpicsChannelMonitorStatistics
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 interfaceStatisticsCollectable
- Returns:
- the statistics.
-
reset
public void reset()Description copied from interface:StatisticsCollectable
Resets the statistics.- Specified by:
reset
in interfaceStatisticsCollectable
-
getChannelNames
Returns the names of the channels being monitored.- Returns:
- the list.
-
getStartRequests
Returns the count of received EPICS channel monitor start requests.- Returns:
- the result.
-
getStopRequests
Returns the count of received EPICS channel monitor stop requests.- Returns:
- the result.
-
getActiveRequests
Returns the count of EPICS channel monitors that are currently active.- Returns:
- the result.
-
getChannelConnectCount
Returns the count of connected EPICS channels.- Returns:
- the result.
-
getChannelDisconnectCount
Returns the count of disconnected EPICS channels.- Returns:
- the result.
-
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.
-