Class OnFailedToAcquireMutexEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
org.springframework.integration.leader.event.AbstractLeaderEvent
org.springframework.integration.leader.event.OnFailedToAcquireMutexEvent
- All Implemented Interfaces:
Serializable
public class OnFailedToAcquireMutexEvent extends AbstractLeaderEvent
Generic event representing that a mutex could not be acquired during leader election.
- Since:
- 5.0
- Author:
- Glenn Renfro, Artem Bilan
- See Also:
- Serialized Form
-
Field Summary
-
Constructor Summary
Constructors Constructor Description OnFailedToAcquireMutexEvent(Object source, Context context, String role)
Instantiate a new OnFailedToAcquireMutexEvent. -
Method Summary
Methods inherited from class org.springframework.integration.leader.event.AbstractLeaderEvent
getContext, getRole, toString
-
Constructor Details
-
OnFailedToAcquireMutexEvent
Instantiate a new OnFailedToAcquireMutexEvent.- Parameters:
source
- the component that published the event (nevernull
)context
- the context associated with this eventrole
- the role of the leader
-