9aa6aa826e82f95c41f0eb3e393e1d98e36c7275
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 6
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Variable | 7 | ||
Rename Variable pageRec : PageSnapshot to pageSnapshot : PageSnapshot in method private performBinaryMemoryRestore(status CheckpointStatus, cacheGroupsPredicate IgnitePredicate<Integer>, recordTypePredicate IgniteBiPredicate<WALRecord.RecordType,WALPointer>, finalizeState boolean) : RestoreBinaryState in class org.apache.ignite.internal.processors.cache.persistence.GridCacheDatabaseSharedManager | From | To | |
Rename Variable e : IgniteBiTuple<PageMemory,Collection<FullPageId>> to memPlc : DataRegion in method private finalizeCheckpointOnRecovery(cpTs long, cpId UUID, walPtr WALPointer, exec StripedExecutor) : void in class org.apache.ignite.internal.processors.cache.persistence.GridCacheDatabaseSharedManager | From | To | |
Rename Variable r : PageDeltaRecord to pageDelta : PageDeltaRecord in method private performBinaryMemoryRestore(status CheckpointStatus, cacheGroupsPredicate IgnitePredicate<Integer>, recordTypePredicate IgniteBiPredicate<WALRecord.RecordType,WALPointer>, finalizeState boolean) : RestoreBinaryState in class org.apache.ignite.internal.processors.cache.persistence.GridCacheDatabaseSharedManager | From | To | |
Rename Variable rec0 : PageDeltaRecord to pageDelta : PageDeltaRecord in method private applyLogicalUpdates(status CheckpointStatus, cacheGroupsPredicate IgnitePredicate<Integer>, recordTypePredicate IgniteBiPredicate<WALRecord.RecordType,WALPointer>, skipFieldLookup boolean) : RestoreLogicalState in class org.apache.ignite.internal.processors.cache.persistence.GridCacheDatabaseSharedManager | From | To | |
Rename Variable cpPagesCnt : int to pagesNum : int in method private finalizeCheckpointOnRecovery(cpTs long, cpId UUID, walPtr WALPointer, exec StripedExecutor) : void in class org.apache.ignite.internal.processors.cache.persistence.GridCacheDatabaseSharedManager | From | To | |
Rename Variable addr : long to pageAddr : long in method private applyPageDelta(pageMem PageMemoryEx, pageDeltaRecord PageDeltaRecord) : void in class org.apache.ignite.internal.processors.cache.persistence.GridCacheDatabaseSharedManager | From | To | |
Parameterize Variable | 1 | ||
Parameterize Variable cpThreads : int to threads : int in method private splitAndSortCpPagesIfNeeded(cpPagesTuple IgniteBiTuple<Collection<GridMultiCollectionWrapper<FullPageId>>,Integer>, threads int) : GridMultiCollectionWrapper<FullPageId> in class org.apache.ignite.internal.processors.cache.persistence.GridCacheDatabaseSharedManager | From | To | |
Change Variable Type | 2 | ||
Change Variable Type e : IgniteBiTuple<PageMemory,Collection<FullPageId>> to memPlc : DataRegion in method private finalizeCheckpointOnRecovery(cpTs long, cpId UUID, walPtr WALPointer, exec StripedExecutor) : void in class org.apache.ignite.internal.processors.cache.persistence.GridCacheDatabaseSharedManager | From | To | |
Extract Variable | 2 | ||
Extract Variable grpId : int in method private applyPageDelta(pageMem PageMemoryEx, pageDeltaRecord PageDeltaRecord) : void from class org.apache.ignite.internal.processors.cache.persistence.GridCacheDatabaseSharedManager | From | To | |
Extract Variable pageId : long in method private applyPageDelta(pageMem PageMemoryEx, pageDeltaRecord PageDeltaRecord) : void from class org.apache.ignite.internal.processors.cache.persistence.GridCacheDatabaseSharedManager | From | To | |
Extract Method | 4 | ||
Extract Method private applyPageDelta(pageMem PageMemoryEx, pageDeltaRecord PageDeltaRecord) : void extracted from private performBinaryMemoryRestore(status CheckpointStatus, cacheGroupsPredicate IgnitePredicate<Integer>, recordTypePredicate IgniteBiPredicate<WALRecord.RecordType,WALPointer>, finalizeState boolean) : RestoreBinaryState in class org.apache.ignite.internal.processors.cache.persistence.GridCacheDatabaseSharedManager | From | To | |
Extract Method private applyPageDelta(pageMem PageMemoryEx, pageDeltaRecord PageDeltaRecord) : void extracted from private applyLogicalUpdates(status CheckpointStatus, cacheGroupsPredicate IgnitePredicate<Integer>, recordTypePredicate IgniteBiPredicate<WALRecord.RecordType,WALPointer>, skipFieldLookup boolean) : RestoreLogicalState in class org.apache.ignite.internal.processors.cache.persistence.GridCacheDatabaseSharedManager | From | To | |
Extract Method public applyPageSnapshot(pageMem PageMemoryEx, pageSnapshotRecord PageSnapshot) : void extracted from private performBinaryMemoryRestore(status CheckpointStatus, cacheGroupsPredicate IgnitePredicate<Integer>, recordTypePredicate IgniteBiPredicate<WALRecord.RecordType,WALPointer>, finalizeState boolean) : RestoreBinaryState in class org.apache.ignite.internal.processors.cache.persistence.GridCacheDatabaseSharedManager | From | To | |
Extract Method public stripedApplyPage(consumer Consumer<PageMemoryEx>, grpId int, partId int, exec StripedExecutor, semaphore Semaphore) : void extracted from private performBinaryMemoryRestore(status CheckpointStatus, cacheGroupsPredicate IgnitePredicate<Integer>, recordTypePredicate IgniteBiPredicate<WALRecord.RecordType,WALPointer>, finalizeState boolean) : RestoreBinaryState in class org.apache.ignite.internal.processors.cache.persistence.GridCacheDatabaseSharedManager | From | To |