Class SystemProcessWatchdogProcessor
java.lang.Object
org.scictrl.csshell.epics.server.processor.AbstractValueProcessor
org.scictrl.csshell.epics.server.processor.MemoryValueProcessor
org.scictrl.csshell.epics.server.processor.DefaultAlarmProcessor
org.scictrl.csshell.epics.server.processor.SystemProcessWatchdogProcessor
- All Implemented Interfaces:
PropertyChangeListener,EventListener,ValueProcessor
SystemProcessWatchdogProcessor class.
- Author:
- igor@scictrl.com
-
Field Summary
Fields inherited from class org.scictrl.csshell.epics.server.processor.MemoryValueProcessor
fixed, lastChangeTimestamp, timestamp, valueFields inherited from class org.scictrl.csshell.epics.server.processor.AbstractValueProcessor
record, trigger, type -
Constructor Summary
ConstructorsConstructorDescriptionConstructor for SystemProcessWatchdogProcessor. -
Method Summary
Modifier and TypeMethodDescriptionvoidConfigures the internals of value processor, provides reference to parent record and to configuration with root inside processor tag.voidprocess()Called by Database in interval set by the trigger parameter in milliseconds.voidvoidAlarm processor should check connections and other parameters and update alarm status.Methods inherited from class org.scictrl.csshell.epics.server.processor.DefaultAlarmProcessor
activate, disableSupressTime, newProcessor, update, updateOrSupressMethods inherited from class org.scictrl.csshell.epics.server.processor.MemoryValueProcessor
_forceValueUpdateEvent, _setValue, _setValue, _setValue, _setValue, convert, getChangeAccessTimestamp, getTimestamp, getValue, getValueAsBoolean, isFixed, newBooleanProcessor, newDoubleProcessor, newProcessor, newProcessor, setFixed, setValueMethods inherited from class org.scictrl.csshell.epics.server.processor.AbstractValueProcessor
getName, getRecord, getTrigger, getType, toString
-
Constructor Details
-
SystemProcessWatchdogProcessor
public SystemProcessWatchdogProcessor()Constructor for SystemProcessWatchdogProcessor.
-
-
Method Details
-
configure
public void configure(Record record, org.apache.commons.configuration.HierarchicalConfiguration config) Configures the internals of value processor, provides reference to parent record and to configuration with root inside processor tag. Parent record is not yet initialized, so does not have reference to Database, the Database reference will be available during activate call.- Specified by:
configurein interfaceValueProcessor- Overrides:
configurein classDefaultAlarmProcessor- Parameters:
record- the parent record.config- configuration with room inside processor tag.
-
propertyChange
- Specified by:
propertyChangein interfacePropertyChangeListener- Overrides:
propertyChangein classDefaultAlarmProcessor
-
process
public void process()Called by Database in interval set by the trigger parameter in milliseconds. Not called if trigger in 0.- Specified by:
processin interfaceValueProcessor- Overrides:
processin classAbstractValueProcessor
-
updateAlarmStatus
public void updateAlarmStatus()Alarm processor should check connections and other parameters and update alarm status.
This method should be called by processor itself, for example from PropertyChange update loop.
As well could be called by asynchronous update loop, which does the supress_time handling.
- Overrides:
updateAlarmStatusin classDefaultAlarmProcessor
-