| Modifier and Type | Method and Description |
|---|---|
Role |
CoreGraphDatabase.getRole() |
| Modifier and Type | Method and Description |
|---|---|
Role |
RaftMachine.currentRole() |
| Modifier and Type | Method and Description |
|---|---|
void |
RaftMembershipManager.onRole(Role role) |
| Modifier and Type | Method and Description |
|---|---|
Role |
Outcome.getRole() |
| Modifier and Type | Method and Description |
|---|---|
void |
Outcome.setNextRole(Role nextRole) |
| Constructor and Description |
|---|
Outcome(Role nextRole,
long term,
MemberId leader,
long leaderCommit,
MemberId votedFor,
Set<MemberId> votesForMe,
long lastLogIndexBeforeWeBecameLeader,
FollowerStates<MemberId> followerStates,
boolean renewElectionTimeout,
Collection<RaftLogCommand> logCommands,
Collection<RaftMessages.Directed> outgoingMessages,
Collection<ShipCommand> shipCommands,
long commitIndex) |
Outcome(Role currentRole,
ReadableRaftState ctx) |
| Modifier and Type | Method and Description |
|---|---|
static Role |
Role.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Role[] |
Role.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Copyright © 2002–2016 The Neo4j Graph Database Project. All rights reserved.