2eed65e80eba695f284923cb84b6bfcfa5864280
Files Diff
- Added: 4
- Removed: 1
- Renamed: 0
- Modified: 35
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method public sizeInBytes() : long renamed to public sizeInBytesWithoutTiers() : long in class net.openhft.chronicle.hash.impl.VanillaChronicleHash | From | To | |
Change Parameter Type | 1 | ||
Change Parameter Type bytes : Bytes to identifier : int in method public ModificationIterator(identifier int, notifier ModificationNotifier) in class net.openhft.chronicle.map.ReplicatedChronicleMap.ModificationIterator | From | To | |
Rename Variable | 2 | ||
Rename Variable segmentIndex : int to tierIndexMinusOne : int in method public nextEntry(entryCallback EntryCallback, chronicleId int) : boolean in class net.openhft.chronicle.map.ReplicatedChronicleMap.ModificationIterator | From | To | |
Rename Variable newModificationIterator : ModificationIterator to modIter : ModificationIterator in method public acquireModificationIterator(remoteIdentifier byte) : ModificationIterator in class net.openhft.chronicle.map.ReplicatedChronicleMap | From | To | |
Change Return Type | 2 | ||
Change Return Type void to boolean in method public initEntryAndKeyCopying(entrySize long, bytesToCopy long) : boolean in class net.openhft.chronicle.hash.impl.stage.entry.AllocatedChunks | From | To | |
Change Return Type void to boolean in method public initEntryAndKey(entrySize long) : boolean in class net.openhft.chronicle.hash.impl.stage.query.SearchAllocatedChunks | From | To | |
Move Class | 1 | ||
Move Class net.openhft.chronicle.hash.impl.stage.query.HashLookupSearch moved to net.openhft.chronicle.hash.impl.stage.entry.HashLookupSearch | From | To | |
Rename Attribute | 1 | ||
Rename Attribute segmentBase : long to segmentBaseAddr : long in class net.openhft.chronicle.hash.impl.stage.entry.SegmentStages | From | To | |
Extract Variable | 2 | ||
Extract Variable pos : long in method public initEntryAndKeyCopying(entrySize long, bytesToCopy long) : boolean from class net.openhft.chronicle.hash.impl.stage.entry.AllocatedChunks | From | To | |
Extract Variable pos : long in method public initEntryAndKey(entrySize long) : boolean from class net.openhft.chronicle.hash.impl.stage.query.SearchAllocatedChunks | From | To | |
Change Attribute Type | 2 | ||
Change Attribute Type s : SegmentStages to s : IterationSegmentStages in class net.openhft.chronicle.hash.impl.stage.iter.HashSegmentIteration | From | To | |
Change Attribute Type freeList : SingleThreadedDirectBitSet to freeList : ReusableBitSet in class net.openhft.chronicle.hash.impl.stage.entry.SegmentStages | From | To | |
Extract Method | 3 | ||
Extract Method private nextPosition() : long extracted from public nextEntry(entryCallback EntryCallback, chronicleId int) : boolean in class net.openhft.chronicle.map.ReplicatedChronicleMap.ModificationIterator | From | To | |
Extract Method private forEachTierWhile(action Predicate<? super E>, size long, currentTier int, currentTierBaseAddr long) : long extracted from public forEachSegmentEntryWhile(action Predicate<? super E>) : boolean in class net.openhft.chronicle.hash.impl.stage.iter.HashSegmentIteration | From | To | |
Extract Method private roundUpRuntimePageSize(size long) : long extracted from private mapHeaderOuterSize() : long in class net.openhft.chronicle.hash.impl.VanillaChronicleHash | From | To | |
Rename Parameter | 8 | ||
Rename Parameter segmentIndex : long to tierIndex : long in method package isChanged(tierIndex long, pos long) : boolean in class net.openhft.chronicle.map.ReplicatedChronicleMap.ModificationIterator | From | To | |
Rename Parameter segmentIndex : long to tierIndex : long in method public isChanged(tierIndex long, pos long) : boolean in class net.openhft.chronicle.map.ReplicatedChronicleMap | From | To | |
Rename Parameter segmentIndex : long to tierIndex : long in method private combine(tierIndex long, pos long) : long in class net.openhft.chronicle.map.ReplicatedChronicleMap.ModificationIterator | From | To | |
Rename Parameter segmentIndex : long to tierIndex : long in method package dropChange(tierIndex long, pos long) : boolean in class net.openhft.chronicle.map.ReplicatedChronicleMap.ModificationIterator | From | To | |
Rename Parameter bytes : Bytes to identifier : int in method public ModificationIterator(identifier int, notifier ModificationNotifier) in class net.openhft.chronicle.map.ReplicatedChronicleMap.ModificationIterator | From | To | |
Rename Parameter segmentIndex : long to tierIndex : long in method public raiseChange(tierIndex long, pos long, timestamp long) : void in class net.openhft.chronicle.map.ReplicatedChronicleMap | From | To | |
Rename Parameter segmentIndex : long to tierIndex : long in method public dropChange(tierIndex long, pos long) : void in class net.openhft.chronicle.map.ReplicatedChronicleMap | From | To | |
Rename Parameter segmentIndex : long to tierIndex : long in method package raiseChange(tierIndex long, pos long, timestamp long) : void in class net.openhft.chronicle.map.ReplicatedChronicleMap.ModificationIterator | From | To |