public interface LeaderElectionCallback
| Modifier and Type | Method and Description |
|---|---|
void |
elected()
Callback signaling that the current host has won the election.
|
void |
error(Exception exception)
Callback signaling an asynchronous error.
|
void |
removed()
Callback signaling that the current host was unexpectedly removed from
the election or from leadership (e.g.
|
void elected()
void removed()
void error(Exception exception)
exception - Copyright © 2012–2015 Facebook, Inc.. All rights reserved.