public class Leadership extends Object
| Constructor and Description |
|---|
Leadership(String topic,
NodeId leader,
long epoch) |
| Modifier and Type | Method and Description |
|---|---|
long |
epoch()
The epoch when the leadership was assumed.
|
boolean |
equals(Object obj) |
int |
hashCode() |
NodeId |
leader()
The nodeId of leader for this topic.
|
String |
topic()
The topic for which this leadership applies.
|
String |
toString() |
Copyright © 2015. All rights reserved.