7b2f7900a196b2288c60558fd8995a9eca521ce7
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 14
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Change Parameter Type | 2 | ||
| Change Parameter Type delegate : JournalReader<RaftLogEntry> to reader : SegmentedJournalReader<RaftLogEntry> in method public RaftLogReader(reader SegmentedJournalReader<RaftLogEntry>, log RaftLog, mode Mode) in class io.atomix.protocols.raft.storage.log.RaftLogReader | From | To | |
| Change Parameter Type delegate : JournalWriter<RaftLogEntry> to writer : SegmentedJournalWriter<RaftLogEntry> in method public RaftLogWriter(writer SegmentedJournalWriter<RaftLogEntry>, log RaftLog) in class io.atomix.protocols.raft.storage.log.RaftLogWriter | From | To | |
| Replace Variable With Attribute | 1 | ||
| Replace Variable With Attribute snapshotIndex : long to lastCompacted : long in method private compactLog() : void in class io.atomix.protocols.raft.impl.RaftServiceManager | From | To | |
| Rename Attribute | 1 | ||
| Rename Attribute stateMachine : RaftService to service : RaftService in class io.atomix.protocols.raft.service.impl.DefaultServiceContext | From | To | |
| Rename Parameter | 3 | ||
| Rename Parameter delegate : JournalReader<RaftLogEntry> to reader : SegmentedJournalReader<RaftLogEntry> in method public RaftLogReader(reader SegmentedJournalReader<RaftLogEntry>, log RaftLog, mode Mode) in class io.atomix.protocols.raft.storage.log.RaftLogReader | From | To | |
| Rename Parameter stateMachine : RaftService to service : RaftService in method public DefaultServiceContext(serviceId ServiceId, serviceName String, serviceType ServiceType, service RaftService, server RaftServerContext, sessionManager RaftSessionManager, serviceExecutor ThreadContext, snapshotExecutor ThreadContext) in class io.atomix.protocols.raft.service.impl.DefaultServiceContext | From | To | |
| Rename Parameter delegate : JournalWriter<RaftLogEntry> to writer : SegmentedJournalWriter<RaftLogEntry> in method public RaftLogWriter(writer SegmentedJournalWriter<RaftLogEntry>, log RaftLog) in class io.atomix.protocols.raft.storage.log.RaftLogWriter | From | To |