| Package | Description |
|---|---|
| org.neo4j.causalclustering.core.consensus | |
| org.neo4j.causalclustering.core.consensus.state | |
| org.neo4j.causalclustering.core.consensus.vote |
| Constructor and Description |
|---|
RaftMachine(MemberId myself,
StateStorage<TermState> termStorage,
StateStorage<VoteState> voteStorage,
RaftLog entryLog,
long electionTimeout,
long heartbeatInterval,
RenewableTimeoutService renewableTimeoutService,
Outbound<MemberId,RaftMessages.RaftMessage> outbound,
org.neo4j.logging.LogProvider logProvider,
RaftMembershipManager membershipManager,
RaftLogShippingManager logShipping,
InFlightMap<RaftLogEntry> inFlightMap,
org.neo4j.kernel.monitoring.Monitors monitors) |
| Constructor and Description |
|---|
RaftState(MemberId myself,
StateStorage<TermState> termStorage,
RaftMembership membership,
RaftLog entryLog,
StateStorage<VoteState> voteStorage,
InFlightMap<RaftLogEntry> inFlightMap,
org.neo4j.logging.LogProvider logProvider) |
| Modifier and Type | Method and Description |
|---|---|
VoteState |
VoteState.Marshal.startState() |
VoteState |
VoteState.Marshal.unmarshal0(org.neo4j.storageengine.api.ReadableChannel channel) |
| Modifier and Type | Method and Description |
|---|---|
void |
VoteState.Marshal.marshal(VoteState state,
org.neo4j.storageengine.api.WritableChannel channel) |
long |
VoteState.Marshal.ordinal(VoteState state) |
Copyright © 2002–2016 The Neo4j Graph Database Project. All rights reserved.