Uses of Enum
org.apache.druid.java.util.common.lifecycle.Lifecycle.Stage
Packages that use Lifecycle.Stage
-
Uses of Lifecycle.Stage in org.apache.druid.guice
Constructors in org.apache.druid.guice with parameters of type Lifecycle.Stage -
Uses of Lifecycle.Stage in org.apache.druid.java.util.common.lifecycle
Methods in org.apache.druid.java.util.common.lifecycle that return Lifecycle.StageModifier and TypeMethodDescriptionstatic Lifecycle.StageReturns the enum constant of this type with the specified name.static Lifecycle.Stage[]Lifecycle.Stage.values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.apache.druid.java.util.common.lifecycle with parameters of type Lifecycle.StageModifier and TypeMethodDescriptionvoidLifecycle.addHandler(Lifecycle.Handler handler, Lifecycle.Stage stage) Adds a handler to the Lifecycle.<T> TLifecycle.addManagedInstance(T o, Lifecycle.Stage stage) Adds a "managed" instance (annotated withLifecycleStartandLifecycleStop) to the Lifecycle.voidLifecycle.addMaybeStartHandler(Lifecycle.Handler handler, Lifecycle.Stage stage) Adds a handler to the Lifecycle and starts it if the lifecycle has already been started.<T> TLifecycle.addMaybeStartManagedInstance(T o, Lifecycle.Stage stage) Adds a "managed" instance (annotated withLifecycleStartandLifecycleStop) to the Lifecycle and starts it if the lifecycle has already been started.<T> TLifecycle.addMaybeStartStartCloseInstance(T o, Lifecycle.Stage stage) Adds an instance with a start() and/or close() method to the Lifecycle and starts it if the lifecycle has already been started.<T> TLifecycle.addStartCloseInstance(T o, Lifecycle.Stage stage) Adds an instance with a start() and/or close() method to the Lifecycle.