public interface ElectionHandler
Modifier and Type | Method and Description |
---|---|
void |
follower()
This method will get invoked when a participant is a follower in a
leader election process.
|
void |
leader()
This method will get invoked when a participant becomes a leader in a
leader election process.
|
void leader()
void follower()
leader()
method being called.Copyright © 2013-2016 The Apache Software Foundation. All rights reserved.