Class MalcolmProcessCondition

All Implemented Interfaces:
ComponentHealthCondition, Configurable, Findable

public class MalcolmProcessCondition extends RateLimitedServerCondition
Check that the Malcolm process is running
  • Constructor Details

    • MalcolmProcessCondition

      public MalcolmProcessCondition()
  • Method Details

    • configure

      public void configure() throws FactoryException
      Description copied from class: ConfigurableBase
      Default 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:
      configure in interface Configurable
      Overrides:
      configure in class RateLimitedServerCondition
      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:
      isServiceRunning in class RateLimitedServerCondition
    • setMalcolmMonitor

      public void setMalcolmMonitor(Scannable malcolmMonitor)