Package gda.beamline.health
Class ProcessingServerCondition
java.lang.Object
gda.factory.ConfigurableBase
gda.factory.FindableConfigurableBase
gda.beamline.health.ComponentHealthConditionBase
gda.beamline.health.ServerCondition
gda.beamline.health.RateLimitedServerCondition
gda.beamline.health.ProcessingServerCondition
- All Implemented Interfaces:
ComponentHealthCondition,Configurable,Findable
-
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 booleanvoidsetProcessingMonitor(Scannable processingMonitor) 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
-
ProcessingServerCondition
public ProcessingServerCondition()
-
-
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
-
setProcessingMonitor
-