b2f8cf8f436e544911b110ad6e2643329af99d4f
Files Diff
- Added: 5
- Removed: 0
- Renamed: 0
- Modified: 14
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 2 | ||
Rename Method private prepareEvict(fullPageId FullPageId, absPtr long) : boolean renamed to private preparePageRemoval(fullPageId FullPageId, absPtr long, saveDirtyPage ReplacedPageWriter) : boolean in class org.apache.ignite.internal.processors.cache.persistence.pagemem.PageMemoryImpl.Segment | From | To | |
Rename Method private evictPage() : long renamed to private removePageForReplacement(saveDirtyPage ReplacedPageWriter) : long in class org.apache.ignite.internal.processors.cache.persistence.pagemem.PageMemoryImpl.Segment | From | To | |
Change Parameter Type | 1 | ||
Change Parameter Type flushDirtyPage : GridInClosure3X<FullPageId,ByteBuffer,Integer> to flushDirtyPage : ReplacedPageWriter in method public PageMemoryImpl(directMemoryProvider DirectMemoryProvider, sizes long[], ctx GridCacheSharedContext<?,?>, pageSize int, flushDirtyPage ReplacedPageWriter, changeTracker GridInClosure3X<Long,FullPageId,PageMemoryEx>, stateChecker CheckpointLockStateChecker, memMetrics DataRegionMetricsImpl, throttlingPlc ThrottlingPolicy, cpProgressProvider CheckpointWriteProgressSupplier) in class org.apache.ignite.internal.processors.cache.persistence.pagemem.PageMemoryImpl | From | To | |
Rename Variable | 3 | ||
Rename Variable db : GridCacheDatabaseSharedManager to cpProgress : CheckpointWriteProgressSupplier in method public warningInCaseTooMuchThrottling() : void in class org.apache.ignite.internal.processors.cache.persistence.pagemem.IgniteThrottlingUnitTest | From | To | |
Rename Variable absEvictAddr : long to absRmvAddr : long in method private removePageForReplacement(saveDirtyPage ReplacedPageWriter) : long in class org.apache.ignite.internal.processors.cache.persistence.pagemem.PageMemoryImpl.Segment | From | To | |
Rename Variable relEvictAddr : long to relRmvAddr : long in method private removePageForReplacement(saveDirtyPage ReplacedPageWriter) : long in class org.apache.ignite.internal.processors.cache.persistence.pagemem.PageMemoryImpl.Segment | From | To | |
Replace Variable With Attribute | 1 | ||
Replace Variable With Attribute db : GridCacheDatabaseSharedManager to cpProgressProvider : CheckpointWriteProgressSupplier in method private initWriteThrottle() : void in class org.apache.ignite.internal.processors.cache.persistence.pagemem.PageMemoryImpl | From | To | |
Rename Attribute | 2 | ||
Rename Attribute dbSharedMgr : GridCacheDatabaseSharedManager to stateChecker : CheckpointLockStateChecker in class org.apache.ignite.internal.processors.cache.persistence.pagemem.PagesWriteThrottle | From | To | |
Rename Attribute pageEvictWarned : boolean to pageReplacementWarned : boolean in class org.apache.ignite.internal.processors.cache.persistence.pagemem.PageMemoryImpl | From | To | |
Change Variable Type | 2 | ||
Change Variable Type db : GridCacheDatabaseSharedManager to cpProgressProvider : CheckpointWriteProgressSupplier in method private initWriteThrottle() : void in class org.apache.ignite.internal.processors.cache.persistence.pagemem.PageMemoryImpl | From | To | |
Change Variable Type db : GridCacheDatabaseSharedManager to cpProgress : CheckpointWriteProgressSupplier in method public warningInCaseTooMuchThrottling() : void in class org.apache.ignite.internal.processors.cache.persistence.pagemem.IgniteThrottlingUnitTest | From | To | |
Extract Interface | 1 | ||
Extract Interface org.apache.ignite.internal.processors.cache.persistence.CheckpointWriteProgressSupplier from classes [org.apache.ignite.internal.processors.cache.persistence.GridCacheDatabaseSharedManager] | From | To | |
Change Attribute Type | 2 | ||
Change Attribute Type dbSharedMgr : GridCacheDatabaseSharedManager to stateChecker : CheckpointLockStateChecker in class org.apache.ignite.internal.processors.cache.persistence.pagemem.PagesWriteThrottle | From | To | |
Change Attribute Type flushDirtyPage : GridInClosure3X<FullPageId,ByteBuffer,Integer> to flushDirtyPage : ReplacedPageWriter in class org.apache.ignite.internal.processors.cache.persistence.pagemem.PageMemoryImpl | From | To |