c2f09c1c8430109f0994095d480f556fc685ee20
Files Diff
- Added: 2
- Removed: 0
- Renamed: 0
- Modified: 4
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method private reserved(absIdx long) : boolean renamed to private locked(absIdx long) : boolean in class org.apache.ignite.internal.processors.cache.persistence.wal.FileWriteAheadLogManager.FileArchiver | From | To | |
Move Method | 4 | ||
Move Method private reserve(absIdx long) : void from class org.apache.ignite.internal.processors.cache.persistence.wal.FileWriteAheadLogManager.FileArchiver to package reserve(absIdx long) : void from class org.apache.ignite.internal.processors.cache.persistence.wal.SegmentReservationStorage | From | To | |
Move Method private release(absIdx long) : void from class org.apache.ignite.internal.processors.cache.persistence.wal.FileWriteAheadLogManager.FileArchiver to package release(absIdx long) : void from class org.apache.ignite.internal.processors.cache.persistence.wal.SegmentReservationStorage | From | To | |
Move Method private lastArchivedAbsoluteIndex() : long from class org.apache.ignite.internal.processors.cache.persistence.wal.FileWriteAheadLogManager.FileArchiver to package lastArchivedAbsoluteIndex() : long from class org.apache.ignite.internal.processors.cache.persistence.wal.SegmentArchivedMonitor | From | To | |
Move Method private awaitSegmentArchived(archiver0 FileArchiver, awaitIdx long) : void from class org.apache.ignite.internal.processors.cache.persistence.wal.FileWriteAheadLogManager to package awaitSegmentArchived(awaitIdx long) : void from class org.apache.ignite.internal.processors.cache.persistence.wal.SegmentArchivedMonitor | From | To | |
Rename Variable | 5 | ||
Rename Variable archiver : Object to reservationStorage : Object in method public apply() : boolean in class org.apache.ignite.internal.processors.cache.persistence.db.wal.IgniteWalHistoryReservationsTest.testReservedOnExchange.reserved.waitForCondition | From | To | |
Rename Variable archiver : Object to reservationStorage : Object in method public apply() : boolean in class org.apache.ignite.internal.processors.cache.persistence.db.wal.IgniteWalHistoryReservationsTest.testNodeLeftDuringExchange.reserved.waitForCondition | From | To | |
Rename Variable archiver : Object to reservationStorage : Object in method public apply() : boolean in class org.apache.ignite.internal.processors.cache.persistence.db.wal.IgniteWalHistoryReservationsTest.testReservedOnExchange.released.waitForCondition | From | To | |
Rename Variable archiver : Object to reservationStorage : Object in method public apply() : boolean in class org.apache.ignite.internal.processors.cache.persistence.db.wal.IgniteWalHistoryReservationsTest.testNodeLeftDuringExchange.released.waitForCondition | From | To | |
Rename Variable memCfg : DataStorageConfiguration to dsCfg : DataStorageConfiguration in method protected getConfiguration(gridName String) : IgniteConfiguration in class org.apache.ignite.internal.processors.cache.persistence.db.wal.reader.IgniteWalReaderTest | From | To | |
Move Attribute | 1 | ||
Move Attribute private reserved : NavigableMap<Long,Integer> from class org.apache.ignite.internal.processors.cache.persistence.wal.FileWriteAheadLogManager.FileArchiver to private reserved : NavigableMap<Long,Integer> from class org.apache.ignite.internal.processors.cache.persistence.wal.SegmentReservationStorage | From | To | |
Extract Class | 1 | ||
Extract Class org.apache.ignite.internal.processors.cache.persistence.wal.SegmentReservationStorage from class org.apache.ignite.internal.processors.cache.persistence.wal.FileWriteAheadLogManager.FileArchiver | From | To | |
Replace Variable With Attribute | 2 | ||
Replace Variable With Attribute archiver0 : FileArchiver to reservationStorage : SegmentReservationStorage in method public reserve(start WALPointer) : boolean in class org.apache.ignite.internal.processors.cache.persistence.wal.FileWriteAheadLogManager | From | To | |
Replace Variable With Attribute archiver0 : FileArchiver to reservationStorage : SegmentReservationStorage in method public release(start WALPointer) : void in class org.apache.ignite.internal.processors.cache.persistence.wal.FileWriteAheadLogManager | From | To | |
Rename Attribute | 1 | ||
Rename Attribute psCfg : DataStorageConfiguration to dsCfg : DataStorageConfiguration in class org.apache.ignite.internal.processors.cache.persistence.wal.FileWriteAheadLogManager.RecordsIterator | From | To | |
Change Variable Type | 2 | ||
Change Variable Type archiver0 : FileArchiver to reservationStorage : SegmentReservationStorage in method public reserve(start WALPointer) : boolean in class org.apache.ignite.internal.processors.cache.persistence.wal.FileWriteAheadLogManager | From | To | |
Change Variable Type archiver0 : FileArchiver to reservationStorage : SegmentReservationStorage in method public release(start WALPointer) : void in class org.apache.ignite.internal.processors.cache.persistence.wal.FileWriteAheadLogManager | From | To | |
Extract Variable | 3 | ||
Extract Variable archiver0 : FileArchiver in method private pollNextFile(curIdx long) : File from class org.apache.ignite.internal.processors.cache.persistence.wal.FileWriteAheadLogManager | From | To | |
Extract Variable archiver0 : FileArchiver in method private restoreWriteHandle(lastReadPtr FileWALPointer) : FileWriteHandle from class org.apache.ignite.internal.processors.cache.persistence.wal.FileWriteAheadLogManager | From | To | |
Extract Variable lastAbsArchivedIdx : long in method public start0() : void from class org.apache.ignite.internal.processors.cache.persistence.wal.FileWriteAheadLogManager | From | To | |
Extract Method | 2 | ||
Extract Method private segmentReservedOrLocked(absIdx long) : boolean extracted from public reserved(ptr WALPointer) : boolean in class org.apache.ignite.internal.processors.cache.persistence.wal.FileWriteAheadLogManager | From | To | |
Extract Method private segmentReservedOrLocked(absIdx long) : boolean extracted from public truncate(low WALPointer, high WALPointer) : int in class org.apache.ignite.internal.processors.cache.persistence.wal.FileWriteAheadLogManager | From | To | |
Extract And Move Method | 1 | ||
Extract And Move Method private segmentReservedOrLocked(absIdx long) : boolean extracted from private deleteObsoleteRawSegments() : void in class org.apache.ignite.internal.processors.cache.persistence.wal.FileWriteAheadLogManager.FileCompressor & moved to class org.apache.ignite.internal.processors.cache.persistence.wal.FileWriteAheadLogManager | From | To | |
Rename Parameter | 1 | ||
Rename Parameter psCfg : DataStorageConfiguration to dsCfg : DataStorageConfiguration in method private RecordsIterator(cctx GridCacheSharedContext, walWorkDir File, walArchiveDir File, start FileWALPointer, end FileWALPointer, dsCfg DataStorageConfiguration, serializerFactory RecordSerializerFactory, ioFactory FileIOFactory, archiver FileArchiver, decompressor FileDecompressor, log IgniteLogger) in class org.apache.ignite.internal.processors.cache.persistence.wal.FileWriteAheadLogManager.RecordsIterator | From | To |