Interface LeaderEventPublisher
- All Known Implementing Classes:
DefaultLeaderEventPublisher
public interface LeaderEventPublisher
Interface for publishing leader based application events.
- Author:
- Janne Valkealahti, Gary Russell, Glenn Renfro
-
Method Summary
Modifier and TypeMethodDescriptionvoid
publishOnFailedToAcquire
(Object source, Context context, String role) Publish a failure to acquire event.void
publishOnGranted
(Object source, Context context, String role) Publish a granted event.void
publishOnRevoked
(Object source, Context context, String role) Publish a revoked event.
-
Method Details
-
publishOnGranted
-
publishOnRevoked
-
publishOnFailedToAcquire
-