1dc8fe0afa255aa06014b45a4d77943c8bcf79a8
Files Diff
- Added: 25
- Removed: 7
- Renamed: 0
- Modified: 66
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 3 | ||
Rename Method public notifyUpdate() : void renamed to public notifyCommitted(commitIndex long) : void in class org.neo4j.coreedge.raft.state.StateMachineApplier | From | To | |
Rename Method public shouldCommitAndThenTruncateSubsequentEntry() : void renamed to public shouldAppendAndThenTruncateSubsequentEntry() : void in class org.neo4j.coreedge.raft.log.RaftLogContractTest | From | To | |
Rename Method public shouldCommitAfterTruncatingAndAppending() : void renamed to public shouldAppendAfterTruncating() : void in class org.neo4j.coreedge.raft.log.RaftLogContractTest | From | To | |
Move And Rename Method | 3 | ||
Move And Rename Method public commitIndex() : long from class org.neo4j.coreedge.raft.log.NaiveDurableRaftLog to public getCommitIndex() : long from class org.neo4j.coreedge.raft.outcome.Outcome | From | To | |
Move And Rename Method public commitIndex() : long from class org.neo4j.coreedge.raft.log.InMemoryRaftLog to public getCommitIndex() : long from class org.neo4j.coreedge.raft.outcome.Outcome | From | To | |
Move And Rename Method public commitIndex() : long from class org.neo4j.coreedge.raft.log.PhysicalRaftLog to public getCommitIndex() : long from class org.neo4j.coreedge.raft.outcome.Outcome | From | To | |
Change Parameter Type | 2 | ||
Change Parameter Type monitor : PhysicalLogFile.Monitor to monitor : PhysicalRaftLogFile.Monitor in method public PhysicalRaftLog(fileSystem FileSystemAbstraction, directory File, rotateAtSize long, pruningConf String, entryCacheSize int, headerCacheSize int, monitor PhysicalRaftLogFile.Monitor, marshal ChannelMarshal<ReplicatedContent>, databaseHealthSupplier Supplier<DatabaseHealth>, logProvider LogProvider, raftLogMetadataCache RaftLogMetadataCache) in class org.neo4j.coreedge.raft.log.PhysicalRaftLog | From | To | |
Change Parameter Type logFileMonitor : PhysicalLogFile.Monitor to logFileMonitor : PhysicalRaftLogFile.Monitor in method private createRaftLog(rotateAtSize long, logFileMonitor PhysicalRaftLogFile.Monitor) : PhysicalRaftLog in class org.neo4j.coreedge.raft.log.PhysicalRaftLogRotationTest | From | To | |
Move Method | 4 | ||
Move Method public commitIndex() : long from class org.neo4j.coreedge.raft.membership.CatchupGoalTest.StubLog to public commitIndex() : long from class org.neo4j.coreedge.raft.state.RaftState | From | To | |
Move Method public commitIndex() : long from class org.neo4j.coreedge.raft.membership.CatchupGoalTrackerTest.StubLog to public commitIndex() : long from class org.neo4j.coreedge.raft.state.RaftState | From | To | |
Move Method public commitIndex() : long from class org.neo4j.coreedge.raft.log.RaftLogCommitRecord to public commitIndex() : long from class org.neo4j.coreedge.raft.state.explorer.ComparableRaftState | From | To | |
Move Method public commitIndex() : long from class org.neo4j.coreedge.raft.RaftInstanceTest.ExplodingRaftLog to public commitIndex() : long from class org.neo4j.coreedge.raft.state.RaftState | From | To | |
Rename Variable | 1 | ||
Rename Variable toCommit : long to toBeSpared : long in method public shouldAppendAndThenTruncateSubsequentEntry() : void in class org.neo4j.coreedge.raft.log.RaftLogContractTest | From | To | |
Move Attribute | 5 | ||
Move Attribute public BASE_FILE_NAME : String from class org.neo4j.coreedge.raft.log.PhysicalRaftLog to public BASE_FILE_NAME : String from class org.neo4j.coreedge.raft.log.physical.PhysicalRaftLogFiles | From | To | |
Move Attribute private commitIndex : long from class org.neo4j.coreedge.raft.state.StateMachineApplier to public commitIndex : long from class org.neo4j.coreedge.raft.state.RaftStateBuilder | From | To | |
Move Attribute private commitIndex : long from class org.neo4j.coreedge.raft.state.StateMachineApplier to private commitIndex : long from class org.neo4j.coreedge.raft.state.RaftState | From | To | |
Move Attribute private commitIndex : long from class org.neo4j.coreedge.raft.state.StateMachineApplier to private commitIndex : long from class org.neo4j.coreedge.raft.state.explorer.ComparableRaftState | From | To | |
Move Attribute private commitIndex : long from class org.neo4j.coreedge.raft.outcome.CommitCommand to private commitIndex : long from class org.neo4j.coreedge.raft.outcome.Outcome | From | To | |
Rename Attribute | 1 | ||
Rename Attribute commitIndex : long to tentativeCommitIndex : long in class org.neo4j.coreedge.raft.state.StateMachineApplier | From | To | |
Change Variable Type | 2 | ||
Change Variable Type logFileMonitor : PhysicalLogFile.Monitor to logFileMonitor : PhysicalRaftLogFile.Monitor in method public shouldRotateOnTruncate() : void in class org.neo4j.coreedge.raft.log.PhysicalRaftLogRotationTest | From | To | |
Change Variable Type logFileMonitor : PhysicalLogFile.Monitor to logFileMonitor : PhysicalRaftLogFile.Monitor in method public shouldRotateOnAppendWhenRotateSizeIsReached() : void in class org.neo4j.coreedge.raft.log.PhysicalRaftLogRotationTest | From | To | |
Change Attribute Type | 2 | ||
Change Attribute Type logFiles : PhysicalLogFiles to logFiles : PhysicalRaftLogFiles in class org.neo4j.coreedge.raft.log.PhysicalRaftLog | From | To | |
Change Attribute Type logFile : PhysicalLogFile to logFile : PhysicalRaftLogFile in class org.neo4j.coreedge.raft.log.PhysicalRaftLog | From | To | |
Extract Method | 1 | ||
Extract Method public readLogHeader(fileSystem FileSystemAbstraction, file File, strict boolean) : LogHeader extracted from public readLogHeader(fileSystem FileSystemAbstraction, file File) : LogHeader in class org.neo4j.kernel.impl.transaction.log.entry.LogHeaderReader | From | To |