- All Known Subinterfaces:
ConfigurableLifecycleComponent.ConfigurableLifecycleAutomaton<CTX>,HealthChecker,LifecycleComponent.LifecycleAutomaton,Resumable.ResumeAutomaton,RunningAccessor.RunningProperty,Startable.StartAutomaton
- All Known Implementing Classes:
ConfigurableLifecycleAutomatonImpl,LifecycleMachine,LifecycleMachine.ManualLifecycleMachine
public interface RunningAccessor
Provides an accessor for a running property.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceProvides a mutator for a running property.static interfaceProvides a running property. -
Method Summary
Modifier and TypeMethodDescriptionbooleanRetrieves the is-running property from the running property.
-
Method Details
-
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).
-