37015fff5f0df20991e63e41dc299464674eb1a1
Files Diff
- Added: 2
- Removed: 0
- Renamed: 0
- Modified: 19
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 3 | ||
Change Parameter Type operation : IgniteThrowableConsumer<T,R> to operation : IgniteThrowableFunction<T,R> in method public doInParallel(executorSvc ExecutorService, srcDatas Collection<T>, operation IgniteThrowableFunction<T,R>) : Collection<R> in class org.apache.ignite.internal.util.IgniteUtils | From | To | |
Change Parameter Type testAction : IgniteThrowableConsumer<Ignite,Void> to testAction : IgniteThrowableFunction<Ignite,Void> in method private performTest(testAction IgniteThrowableFunction<Ignite,Void>, groupName String) : void in class org.apache.ignite.internal.processors.cache.distributed.rebalancing.IgniteRebalanceOnCachesStoppingOrDestroyingTest | From | To | |
Change Parameter Type operation : IgniteThrowableConsumer<T,R> to operation : IgniteThrowableFunction<T,R> in method public doInParallel(parallelismLvl int, executorSvc ExecutorService, srcDatas Collection<T>, operation IgniteThrowableFunction<T,R>) : Collection<R> in class org.apache.ignite.internal.util.IgniteUtils | From | To | |
Change Return Type | 1 | ||
Change Return Type R to void in method public accept(e E) : void in class org.apache.ignite.internal.util.lang.IgniteThrowableConsumer | From | To | |
Extract Method | 7 | ||
Extract Method private markUnusedPagesDirty(nextPageId long) : void extracted from public saveMetadata() : void in class org.apache.ignite.internal.processors.cache.persistence.freelist.PagesList | From | To | |
Extract Method private syncMetadata(ctx Context) : void extracted from public onMarkCheckpointBegin(ctx Context) : void in class org.apache.ignite.internal.processors.cache.persistence.GridCacheOffheapManager | From | To | |
Extract Method private saveReuseListMetadata(ctx Context) : void extracted from public onMarkCheckpointBegin(ctx Context) : void in class org.apache.ignite.internal.processors.cache.mvcc.txlog.TxLog | From | To | |
Extract Method private updateCurrentCheckpointProgress() : GridCacheDatabaseSharedManager.CheckpointProgress extracted from private markCheckpointBegin(tracker CheckpointMetricsTracker) : Checkpoint in class org.apache.ignite.internal.processors.cache.persistence.GridCacheDatabaseSharedManager.Checkpointer | From | To | |
Extract Method private fillCacheGroupState(cpRec CheckpointRecord) : void extracted from private markCheckpointBegin(tracker CheckpointMetricsTracker) : Checkpoint in class org.apache.ignite.internal.processors.cache.persistence.GridCacheDatabaseSharedManager.Checkpointer | From | To | |
Extract Method private updateLastCheckpointTime() : long extracted from private markCheckpointBegin(tracker CheckpointMetricsTracker) : Checkpoint in class org.apache.ignite.internal.processors.cache.persistence.GridCacheDatabaseSharedManager.Checkpointer | From | To | |
Extract Method private writeFreeList(nextPageId long) : long extracted from public saveMetadata() : void in class org.apache.ignite.internal.processors.cache.persistence.freelist.PagesList | From | To |