3ee3312e9cf33d51375c45c343e561887e85fac4
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 3
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 3 | ||
Rename Method public maxLogEntriesPerSecond() : int renamed to public maxLogEntriesPerSegment() : int in class io.atomix.protocols.raft.storage.RaftStorage | From | To | |
Rename Method public logEntryBufferSize() : int renamed to public segmentBufferFactor() : int in class io.atomix.protocols.raft.storage.RaftStorage | From | To | |
Rename Method public withEntryBufferSize(entryBufferSize int) : Builder renamed to public withSegmentBufferFactor(segmentBufferFactor int) : Builder in class io.atomix.protocols.raft.storage.RaftStorage.Builder | From | To | |
Rename Attribute | 1 | ||
Rename Attribute entryBufferSize : int to segmentBufferFactor : int in class io.atomix.protocols.raft.storage.RaftStorage.Builder | From | To | |
Extract Method | 1 | ||
Extract Method public newBuilder() : Builder extracted from public builder() : Builder in class io.atomix.protocols.raft.storage.log.RaftLog | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type SEGMENT_BUFFER_FACTOR : long to SEGMENT_BUFFER_FACTOR : int in class io.atomix.protocols.raft.storage.log.RaftLog | From | To | |
Rename Parameter | 2 | ||
Rename Parameter entryBufferSize : int to segmentBufferFactor : int in method private RaftStorage(prefix String, storageLevel StorageLevel, directory File, serializer Serializer, maxSegmentSize int, maxEntriesPerSegment int, segmentBufferFactor int, freeDiskBuffer double, flushOnCommit boolean, retainStaleSnapshots boolean) in class io.atomix.protocols.raft.storage.RaftStorage | From | To | |
Rename Parameter entryBufferSize : int to segmentBufferFactor : int in method public withSegmentBufferFactor(segmentBufferFactor int) : Builder in class io.atomix.protocols.raft.storage.RaftStorage.Builder | From | To |