Class ApplicationLifecycleEvent

java.lang.Object
io.fluxzero.common.api.ApplicationLifecycleEvent

public class ApplicationLifecycleEvent extends Object
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.

  • Constructor Details

    • ApplicationLifecycleEvent

      public ApplicationLifecycleEvent()