Classes | |
class | AlarmCounter |
class | ChatteringAlarm |
Public Member Functions | |
void | setTableViewer (TableViewer table) |
synchronized Collection<?> | getNumbers () |
void | run () |
synchronized void | faultStateReceived (FaultState faultState) |
void | sourceXMLMsgReceived (String asiMessage) |
void | setTableContent (TableData tData) |
Static Public Member Functions | |
static ChatteringAlarmsContainer | getInstance () |
The container of chattering alarms i.e. alarms whose state changes at least 3 times per minute.
Each chattering alarms is an entry of the table. If the same alarm at a certain minute chatters more then it happened previously, its number and dates are updated to show the peak.
While counting for chattering alarms, this containers remember the last registered state because if an alarm is terminated three times but never activated this is not a chatter.
The number of activation/termination can instead be investigated in the MFA table.
This container has one list for the ChatteringAlrms (chatteringAlarms
) to be sent to the table model, and another one (tempAlarms
) where received alarms are updated every minute. At the end of the time interval, this new list is flushed in the the list for the view.
synchronized void alma.acs.alarmsanalyzer.document.ChatteringAlarmsContainer.faultStateReceived | ( | FaultState | faultState | ) |
Each received FaultState is stored in tempAlarms
.
Implements alma.alarmsystem.clients.source.SourceListener.
References cern.laser.source.alarmsysteminterface.FaultState.getDescriptor(), and cern.laser.source.alarmsysteminterface.FaultState.getUserTimestamp().
static ChatteringAlarmsContainer alma.acs.alarmsanalyzer.document.ChatteringAlarmsContainer.getInstance | ( | ) | [static] |
synchronized Collection<?> alma.acs.alarmsanalyzer.document.ChatteringAlarmsContainer.getNumbers | ( | ) |
void alma.acs.alarmsanalyzer.document.ChatteringAlarmsContainer.run | ( | ) |
void alma.acs.alarmsanalyzer.document.ChatteringAlarmsContainer.setTableContent | ( | TableData | tData | ) |
void alma.acs.alarmsanalyzer.document.ChatteringAlarmsContainer.setTableViewer | ( | TableViewer | table | ) |
Ovveride to start the thread to refresh the vie
void alma.acs.alarmsanalyzer.document.ChatteringAlarmsContainer.sourceXMLMsgReceived | ( | String | asiMessage | ) |
An XML has been received from the source NC.
The XML follows the ASIMessage.xsd schema definition and therefore it might have one or more fault states.
asiMessage | The ASIMessage received from an alarm source |
Implements alma.alarmsystem.clients.source.SourceListener.