Package org.refcodes.component
Interface RunningAccessor
-
- All Known Subinterfaces:
ConfigurableLifeCycleComponent.ConfigurableLifeCycleAutomaton<CTX>,HealthChecker,LifeCycleComponent.LifeCycleAutomaton,Resumable.ResumeAutomaton,RunningAccessor.RunningProperty,Startable.StartAutomaton
- All Known Implementing Classes:
ConfigurableLifeCycleAutomatonImpl,LifeCycleAutomatonImpl,LifeCycleAutomatonImpl.ManualLifeCycleAutomatonImpl
public interface RunningAccessorProvides an accessor for a running property.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceRunningAccessor.RunningMutatorProvides a mutator for a running property.static interfaceRunningAccessor.RunningPropertyProvides a running property.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisRunning()Retrieves the is-running property from the running property.
-
-
-
Method Detail
-
isRunning
boolean isRunning()
Retrieves the is-running property from the running property. Determines whether the component is running. A component is running after being started or being resumed as ofStartable.start()orResumable.resume().- Returns:
- True in case of being resumed or started (returns the is-running property stored by the running property).
-
-