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
Event fired when the controller created from the
AbstracLeaderElectingControllerEvent.getOperatorConfiguration()
has become a leader.- Since:
- 3.3
- Author:
- Pavol Gressa
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionLeaseAcquiredEvent
(ControllerConfiguration controllerConfiguration, io.kubernetes.client.extended.controller.ControllerManager source) Create the event. -
Method Summary
Methods inherited from class io.micronaut.kubernetes.client.operator.event.AbstracLeaderElectingControllerEvent
getOperatorConfiguration
Methods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
LeaseAcquiredEvent
public LeaseAcquiredEvent(ControllerConfiguration controllerConfiguration, io.kubernetes.client.extended.controller.ControllerManager source) Create the event.- Parameters:
controllerConfiguration
- operator configurationsource
- controller manager
-