Event Bus Lifecycle Listener

Similar to the life cycle events provided by each job, event buses also publish their life cycle events on the system bus. These events let you know when new event buses are created and when existing buses start shutting down. No event get sent when a bus finishes shutting down, your code will have to treat the shutting down event as a successful termination.

The EventBus class has addEventBusLifecycleListener and removeEventBusLifecycleListener convenience methods for you to register EventBusLifecycleListenerinstances.

Mobile Analytics