| Package | Description |
|---|---|
| org.onosproject.cluster |
Set of abstractions for dealing with controller cluster related topics.
|
| Modifier and Type | Method and Description |
|---|---|
Leadership |
LeadershipService.getLeadership(String path)
Returns the current leadership info for the topic.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,Leadership> |
LeadershipService.getLeaderBoard()
Returns the current leader board.
|
CompletableFuture<Leadership> |
LeadershipService.runForLeadership(String path)
Joins the leadership contest.
|
| Constructor and Description |
|---|
LeadershipEvent(LeadershipEvent.Type type,
Leadership leadership)
Creates an event of a given type and for the specified instance and the
current time.
|
LeadershipEvent(LeadershipEvent.Type type,
Leadership leadership,
long time)
Creates an event of a given type and for the specified subject and time.
|
Copyright © 2015. All rights reserved.