public interface LeaderEventPublisher
| Modifier and Type | Method and Description |
|---|---|
void |
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.
|
void publishOnGranted(Object source, Context context, String role)
source - the component generated this eventcontext - the context associated with eventrole - the role of the leadervoid publishOnRevoked(Object source, Context context, String role)
source - the component generated this eventcontext - the context associated with eventrole - the role of the leader