Package gda.beamline.health
Class MalcolmProcessCondition
- All Implemented Interfaces:
ComponentHealthCondition,Configurable,Findable
Check that the Malcolm process is running
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidDefault implementation for classes that do not have to do any specific configuration.
Classes that do their own configuration should *not* call this superclass function, as it may cause the object to appear configured before it really is.protected booleanvoidsetMalcolmMonitor(Scannable malcolmMonitor) Methods inherited from class gda.beamline.health.RateLimitedServerCondition
isRunning, setMinCheckTimeMethods inherited from class gda.beamline.health.ServerCondition
calculateHealthState, getDefaultErrorMessage, readCurrentStateMethods inherited from class gda.beamline.health.ComponentHealthConditionBase
getCurrentState, getDescription, getErrorMessage, getHealthState, isCritical, isEnabled, setCritical, setDescription, setEnabled, setErrorMessage, toStringMethods inherited from class gda.factory.FindableConfigurableBase
getName, setNameMethods inherited from class gda.factory.ConfigurableBase
isConfigureAtStartup, isConfigured, reconfigure, setConfigured
-
Constructor Details
-
MalcolmProcessCondition
public MalcolmProcessCondition()
-
-
Method Details
-
configure
Description copied from class:ConfigurableBaseDefault implementation for classes that do not have to do any specific configuration.
Classes that do their own configuration should *not* call this superclass function, as it may cause the object to appear configured before it really is.- Specified by:
configurein interfaceConfigurable- Overrides:
configurein classRateLimitedServerCondition- Throws:
FactoryException- if there is an error in configuration e.g. required variable not set or cannot connect to device
-
isServiceRunning
protected boolean isServiceRunning()- Specified by:
isServiceRunningin classRateLimitedServerCondition
-
setMalcolmMonitor
-