Class LeaseAcquiredEvent

java.lang.Object
java.util.EventObject
io.micronaut.context.event.ApplicationEvent
io.micronaut.kubernetes.client.operator.event.AbstracLeaderElectingControllerEvent
io.micronaut.kubernetes.client.operator.event.LeaseAcquiredEvent
All Implemented Interfaces:
Serializable

public class LeaseAcquiredEvent extends AbstracLeaderElectingControllerEvent
Event fired when the controller created from the AbstracLeaderElectingControllerEvent.getOperatorConfiguration() has become a leader.
Since:
3.3
Author:
Pavol Gressa
See Also:
  • Constructor Details

    • LeaseAcquiredEvent

      public LeaseAcquiredEvent(ControllerConfiguration controllerConfiguration, io.kubernetes.client.extended.controller.ControllerManager source)
      Create the event.
      Parameters:
      controllerConfiguration - operator configuration
      source - controller manager