Class ApplicationLifecycleEvent
java.lang.Object
io.fluxzero.common.api.ApplicationLifecycleEvent
Metric event emitted when a Fluxzero application instance starts or begins shutting down.
A ApplicationLifecycleEvent.Phase.STARTED event is only published after the fully constructed application can store a message through
its metrics gateway. Its presence therefore confirms both application startup and connectivity to a Fluxzero
Runtime endpoint. A matching ApplicationLifecycleEvent.Phase.STOPPING event is attempted during controlled shutdown without delaying
shutdown indefinitely.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumApplication lifecycle phases published as metrics. -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ApplicationLifecycleEvent
public ApplicationLifecycleEvent()
-