public interface LifeCycle
by default to indicate the class has been loaded. From here, calling the
start() method will change this
LifeCycle.State.STARTING. After successfully being started, this state is changed to
stop() is called, this goes into the
LifeCycle.State.STOPPING state. After successfully being
stopped, this goes into the
LifeCycle.State.STOPPED state. In most circumstances, implementation classes should
LifeCycle.State in a
volatile field or inside an
AtomicReference dependent on synchronization and concurrency requirements.
|Modifier and Type
|Interface and Description
Status of a life cycle like a
Copyright © 1999-2021 The Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.