22580e19b7ae5d11b8c299e2b3d92f5c8b9f0e8c
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 7
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 2 | ||
Rename Method private flushCache(it Iterator<Map.Entry<K,StatefulValue<K,V>>>) : void renamed to private flushCacheCoalescing() : void in class org.apache.ignite.internal.processors.cache.store.GridCacheWriteBehindStore.Flusher | From | To | |
Rename Method private awaitOperationsAvailable() : void renamed to private awaitOperationsAvailableCoalescing() : void in class org.apache.ignite.internal.processors.cache.store.GridCacheWriteBehindStore.Flusher | From | To | |
Rename Variable | 1 | ||
Rename Variable operation : StoreOperation to prevOperation : StoreOperation in method private flushCacheCoalescing() : void in class org.apache.ignite.internal.processors.cache.store.GridCacheWriteBehindStore.Flusher | From | To | |
Change Return Type | 1 | ||
Change Return Type void to boolean in method private applyBatch(valMap Map<K,StatefulValue<K,V>>, initSes boolean, flusher Flusher) : boolean in class org.apache.ignite.internal.processors.cache.store.GridCacheWriteBehindStore | From | To | |
Parameterize Variable | 1 | ||
Parameterize Variable operation : StoreOperation to prevOperation : StoreOperation in method public tryAddStatefulValue(pending Map<K,StatefulValue<K,V>>, prevOperation StoreOperation, key K, val StatefulValue<K,V>) : BatchingResult in class org.apache.ignite.internal.processors.cache.store.GridCacheWriteBehindStore.Flusher | From | To | |
Inline Variable | 1 | ||
Inline Variable batch : Map<K,StatefulValue<K,V>> in method private flushCache(it Iterator<Map.Entry<K,StatefulValue<K,V>>>) : void from class org.apache.ignite.internal.processors.cache.store.GridCacheWriteBehindStore.Flusher | From | To | |
Extract Method | 3 | ||
Extract Method protected initStore(flushThreadCnt int, writeCoalescing boolean) : void extracted from protected initStore(flushThreadCnt int) : void in class org.apache.ignite.internal.processors.cache.store.GridCacheWriteBehindStoreAbstractSelfTest | From | To | |
Extract Method private putToWriteCache(key K, newVal StatefulValue<K,V>) : void extracted from private updateCache(key K, val Entry<? extends K,? extends V>, operation StoreOperation) : void in class org.apache.ignite.internal.processors.cache.store.GridCacheWriteBehindStore | From | To | |
Extract Method public tryAddStatefulValue(pending Map<K,StatefulValue<K,V>>, prevOperation StoreOperation, key K, val StatefulValue<K,V>) : BatchingResult extracted from private flushCache(it Iterator<Map.Entry<K,StatefulValue<K,V>>>) : void in class org.apache.ignite.internal.processors.cache.store.GridCacheWriteBehindStore.Flusher | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type flushThreads : GridWorker[] to flushThreads : Flusher[] in class org.apache.ignite.internal.processors.cache.store.GridCacheWriteBehindStore | From | To |