| Modifier and Type | Method and Description |
|---|---|
RaftLogEntry[] |
RaftMessages.AppendEntries.Request.entries() |
| Modifier and Type | Method and Description |
|---|---|
InFlightMap<RaftLogEntry> |
ConsensusModule.inFlightMap() |
| Constructor and Description |
|---|
Request(MemberId from,
long leaderTerm,
long prevLogIndex,
long prevLogTerm,
RaftLogEntry[] entries,
long leaderCommit) |
| 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) |
| Modifier and Type | Field and Description |
|---|---|
static RaftLogEntry[] |
RaftLogEntry.empty |
| Modifier and Type | Method and Description |
|---|---|
RaftLogEntry |
EntryRecord.logEntry() |
| Modifier and Type | Method and Description |
|---|---|
long |
DelegatingRaftLog.append(RaftLogEntry... entry) |
long |
InMemoryRaftLog.append(RaftLogEntry... entries) |
long |
MonitoredRaftLog.append(RaftLogEntry... entries) |
long |
RaftLog.append(RaftLogEntry... entry)
Appends entry to the end of the log.
|
| Constructor and Description |
|---|
EntryRecord(long logIndex,
RaftLogEntry logEntry) |
| Modifier and Type | Method and Description |
|---|---|
long |
SegmentedRaftLog.append(RaftLogEntry... entries) |
| Modifier and Type | Method and Description |
|---|---|
void |
RaftMembershipManager.append(long baseIndex,
RaftLogEntry... entries) |
| Modifier and Type | Field and Description |
|---|---|
RaftLogEntry[] |
BatchAppendLogEntries.entries |
RaftLogEntry |
AppendLogEntry.entry |
| Modifier and Type | Method and Description |
|---|---|
void |
RaftLogCommand.Handler.append(long baseIndex,
RaftLogEntry... entries) |
| Modifier and Type | Method and Description |
|---|---|
void |
BatchAppendLogEntries.applyTo(InFlightMap<RaftLogEntry> inFlightMap,
org.neo4j.logging.Log log) |
void |
RaftLogCommand.applyTo(InFlightMap<RaftLogEntry> inFlightMap,
org.neo4j.logging.Log log) |
void |
AppendLogEntry.applyTo(InFlightMap<RaftLogEntry> inFlightMap,
org.neo4j.logging.Log log) |
void |
PruneLogCommand.applyTo(InFlightMap<RaftLogEntry> inFlightMap,
org.neo4j.logging.Log log) |
void |
TruncateLogCommand.applyTo(InFlightMap<RaftLogEntry> inFlightMap,
org.neo4j.logging.Log log) |
| Constructor and Description |
|---|
AppendLogEntry(long index,
RaftLogEntry entry) |
BatchAppendLogEntries(long baseIndex,
int offset,
RaftLogEntry[] entries) |
NewEntries(long prevLogIndex,
long prevLogTerm,
RaftLogEntry[] newLogEntries) |
| Modifier and Type | Method and Description |
|---|---|
void |
RaftLogShipper.onNewEntries(long prevLogIndex,
long prevLogTerm,
RaftLogEntry[] newLogEntries,
LeaderContext leaderContext) |
| Constructor and Description |
|---|
RaftLogShippingManager(Outbound<MemberId,RaftMessages.RaftMessage> outbound,
org.neo4j.logging.LogProvider logProvider,
ReadableRaftLog raftLog,
Clock clock,
MemberId myself,
RaftMembership membership,
long retryTimeMillis,
int catchupBatchSize,
int maxAllowedShippingLag,
InFlightMap<RaftLogEntry> inFlightMap) |
| 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 |
|---|---|
RaftLogEntry |
InFlightLogEntryReader.get(long logIndex) |
| Constructor and Description |
|---|
CommandApplicationProcess(CoreStateMachines coreStateMachines,
RaftLog raftLog,
int maxBatchSize,
int flushEvery,
Supplier<org.neo4j.kernel.internal.DatabaseHealth> dbHealth,
org.neo4j.logging.LogProvider logProvider,
ProgressTracker progressTracker,
StateStorage<Long> lastFlushedStorage,
SessionTracker sessionTracker,
CoreStateApplier applier,
InFlightMap<RaftLogEntry> inFlightMap,
org.neo4j.kernel.monitoring.Monitors monitors) |
InFlightLogEntryReader(ReadableRaftLog raftLog,
InFlightMap<RaftLogEntry> inFlightMap,
boolean removeReadIndexFromMap) |
Copyright © 2002–2016 The Neo4j Graph Database Project. All rights reserved.