97e4c12de1abd3268d18d413af50f0cff263baed
Files Diff
- Added: 4
- Removed: 0
- Renamed: 0
- Modified: 27
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Return Type | 1 | ||
Change Return Type ChronicleMap<K,V> to void in method private establishReplication(map VanillaChronicleMap<K,V,?>, singleHashReplication SingleChronicleHashReplication, channel ReplicationChannel) : void in class net.openhft.chronicle.map.ChronicleMapBuilder | From | To | |
Extract Variable | 2 | ||
Extract Variable readHeaderSize : long in method package createWithFile(file File, singleHashReplication SingleChronicleHashReplication, channel ReplicationChannel, recover boolean, overrideBuilderConfig boolean) : ChronicleMap<K,V> from class net.openhft.chronicle.map.ChronicleMapBuilder | From | To | |
Extract Variable object : T in method public toString() : String from class net.openhft.chronicle.hash.AbstractData | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type used : AtomicBoolean to used : boolean in class net.openhft.chronicle.map.MapInstanceBuilder | From | To | |
Extract Method | 9 | ||
Extract Method private initBytesStoreAndHeadersViews(bytesStore BytesStore) : void extracted from public createMappedStoreAndSegments(bytesStore BytesStore) : void in class net.openhft.chronicle.hash.impl.VanillaChronicleHash | From | To | |
Extract Method private computeSegmentHeadersOffset() : long extracted from private segmentHeadersOffset() : long in class net.openhft.chronicle.hash.impl.VanillaChronicleHash | From | To | |
Extract Method private initBulks() : void extracted from public createMappedStoreAndSegments(bytesStore BytesStore) : void in class net.openhft.chronicle.hash.impl.VanillaChronicleHash | From | To | |
Extract Method public storedChecksum() : int extracted from public innerCheckSum() : boolean in class net.openhft.chronicle.hash.impl.stage.entry.HashEntryChecksumStrategy | From | To | |
Extract Method private computeSizeInBytesWithoutTiers(segmentHeadersOffset long) : long extracted from public sizeInBytesWithoutTiers() : long in class net.openhft.chronicle.hash.impl.VanillaChronicleHash | From | To | |
Extract Method private alreadyCreated() : IllegalStateException extracted from public create() : ChronicleMap<K,V> in class net.openhft.chronicle.map.MapInstanceBuilder | From | To | |
Extract Method private writeHeader(fileChannel FileChannel, map VanillaChronicleMap<K,V,?>) : int extracted from package createWithFile(file File, singleHashReplication SingleChronicleHashReplication, channel ReplicationChannel) : ChronicleMap<K,V> in class net.openhft.chronicle.map.ChronicleMapBuilder | From | To | |
Extract Method public linkAndZeroOutFreeTiers(firstTierIndex long, lastTierIndex long) : void extracted from private allocateTierBulk() : void in class net.openhft.chronicle.hash.impl.VanillaChronicleHash | From | To |