ad785cbd192ca3f34d62bc2155f61a74f4962102
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 8
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 18 | ||
Rename Method public remove(key K, val V) : boolean renamed to protected getAndRemove0(key K) : V in class org.apache.ignite.internal.processors.cache.local.atomic.GridLocalAtomicCache | From | To | |
Rename Method public removeAll(keys Collection<? extends K>) : void renamed to public removeAll0(keys Collection<? extends K>) : void in class org.apache.ignite.internal.processors.cache.local.atomic.GridLocalAtomicCache | From | To | |
Rename Method public getAll(keys Collection<? extends K>, deserializeBinary boolean, needVer boolean) : Map<K,V> renamed to protected getAll0(keys Collection<? extends K>, deserializeBinary boolean, needVer boolean) : Map<K,V> in class org.apache.ignite.internal.processors.cache.GridCacheAdapter | From | To | |
Rename Method public getAndRemove(key K) : V renamed to protected put0(key K, val V, filter CacheEntryPredicate) : boolean in class org.apache.ignite.internal.processors.cache.local.atomic.GridLocalAtomicCache | From | To | |
Rename Method public getAndRemoveAsync(key K) : IgniteInternalFuture<V> renamed to public getAndRemoveAsync0(key K) : IgniteInternalFuture<V> in class org.apache.ignite.internal.processors.cache.local.atomic.GridLocalAtomicCache | From | To | |
Rename Method public replace(key K, val V) : boolean renamed to public remove(key K, filter CacheEntryPredicate) : boolean in class org.apache.ignite.internal.processors.cache.distributed.near.GridNearAtomicCache | From | To | |
Rename Method public putAllAsync(m Map<? extends K,? extends V>) : IgniteInternalFuture<?> renamed to public putAllAsync0(m Map<? extends K,? extends V>) : IgniteInternalFuture<?> in class org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache | From | To | |
Rename Method public removeAllAsync(keys Collection<? extends K>) : IgniteInternalFuture<?> renamed to public removeAllAsync0(keys Collection<? extends K>) : IgniteInternalFuture<Object> in class org.apache.ignite.internal.processors.cache.local.atomic.GridLocalAtomicCache | From | To | |
Rename Method public getAndPut(key K, val V, filter CacheEntryPredicate) : V renamed to protected getAndPut0(key K, val V, filter CacheEntryPredicate) : V in class org.apache.ignite.internal.processors.cache.local.atomic.GridLocalAtomicCache | From | To | |
Rename Method public getAll(keys Collection<? extends K>, deserializeBinary boolean, needVer boolean) : Map<K,V> renamed to public getAll0(keys Collection<? extends K>, deserializeBinary boolean, needVer boolean) : Map<K,V> in class org.apache.ignite.internal.processors.cache.local.atomic.GridLocalAtomicCache | From | To | |
Rename Method public putAll(m Map<? extends K,? extends V>) : void renamed to protected putAll0(m Map<? extends K,? extends V>) : void in class org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache | From | To | |
Rename Method private updateAllAsync0(map Map<? extends K,? extends V>, invokeMap Map<? extends K,? extends EntryProcessor>, invokeArgs Object[], conflictPutMap Map<KeyCacheObject,GridCacheDrInfo>, conflictRmvMap Map<KeyCacheObject,GridCacheVersion>, retval boolean, rawRetval boolean, waitTopFut boolean, op GridCacheOperation) : IgniteInternalFuture renamed to private updateAll0(map Map<? extends K,? extends V>, invokeMap Map<? extends K,? extends EntryProcessor>, invokeArgs Object[], conflictPutMap Map<KeyCacheObject,GridCacheDrInfo>, conflictRmvMap Map<KeyCacheObject,GridCacheVersion>, retval boolean, rawRetval boolean, waitTopFut boolean, op GridCacheOperation, async boolean) : IgniteInternalFuture in class org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache | From | To | |
Rename Method public putAllAsync(m Map<? extends K,? extends V>) : IgniteInternalFuture<?> renamed to public putAllAsync0(m Map<? extends K,? extends V>) : IgniteInternalFuture<?> in class org.apache.ignite.internal.processors.cache.local.atomic.GridLocalAtomicCache | From | To | |
Rename Method public get(key K, deserializeBinary boolean, needVer boolean) : V renamed to protected get0(key K, taskName String, deserializeBinary boolean, needVer boolean) : V in class org.apache.ignite.internal.processors.cache.local.atomic.GridLocalAtomicCache | From | To | |
Rename Method protected get(key K, taskName String, deserializeBinary boolean, needVer boolean) : V renamed to protected get0(key K, taskName String, deserializeBinary boolean, needVer boolean) : V in class org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache | From | To | |
Rename Method public removeAll(keys Collection<? extends K>) : void renamed to protected removeAll0(keys Collection<? extends K>) : void in class org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache | From | To | |
Rename Method private updateAsync0(key K, val V, proc EntryProcessor, invokeArgs Object[], retval boolean, filter CacheEntryPredicate, waitTopFut boolean) : IgniteInternalFuture renamed to private update0(key K, val V, proc EntryProcessor, invokeArgs Object[], retval boolean, filter CacheEntryPredicate, waitTopFut boolean, async boolean) : IgniteInternalFuture in class org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache | From | To | |
Rename Method protected get(key K, taskName String, deserializeBinary boolean, needVer boolean) : V renamed to protected get0(key K, taskName String, deserializeBinary boolean, needVer boolean) : V in class org.apache.ignite.internal.processors.cache.GridCacheAdapter | From | To | |
Move And Rename Method | 2 | ||
Move And Rename Method private removeAsync0(key K, retval boolean, filter CacheEntryPredicate) : IgniteInternalFuture from class org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache to public remove(key K, filter CacheEntryPredicate) : boolean from class org.apache.ignite.internal.processors.cache.GridCacheAdapter | From | To | |
Move And Rename Method public put(key K, val V, filter CacheEntryPredicate) : boolean from class org.apache.ignite.internal.processors.cache.local.atomic.GridLocalAtomicCache to public remove(key K, filter CacheEntryPredicate) : boolean from class org.apache.ignite.internal.processors.cache.GridCacheAdapter | From | To | |
Change Parameter Type | 1 | ||
Change Parameter Type val : V to filter : CacheEntryPredicate in method public remove(key K, filter CacheEntryPredicate) : boolean in class org.apache.ignite.internal.processors.cache.distributed.near.GridNearAtomicCache | From | To | |
Move Method | 1 | ||
Move Method public remove(key K) : boolean from class org.apache.ignite.internal.processors.cache.local.atomic.GridLocalAtomicCache to public remove(key K, filter CacheEntryPredicate) : boolean from class org.apache.ignite.internal.processors.cache.GridCacheAdapter | From | To | |
Rename Variable | 3 | ||
Rename Variable removed : boolean to rmvd : boolean in method public removeEntry(entry GridCacheEntryEx) : void in class org.apache.ignite.internal.processors.cache.GridCacheAdapter | From | To | |
Rename Variable stored : Boolean to res : Boolean in method protected put0(key K, val V, filter CacheEntryPredicate) : boolean in class org.apache.ignite.internal.processors.cache.GridCacheAdapter | From | To | |
Rename Variable rmv : boolean to res : Boolean in method protected remove0(key K, filter CacheEntryPredicate) : boolean in class org.apache.ignite.internal.processors.cache.GridCacheAdapter | From | To | |
Change Return Type | 4 | ||
Change Return Type IgniteInternalFuture<?> to IgniteInternalFuture<Object> in method public removeAllAsync0(keys Collection<? extends K>) : IgniteInternalFuture<Object> in class org.apache.ignite.internal.processors.cache.local.atomic.GridLocalAtomicCache | From | To | |
Change Return Type IgniteInternalFuture to boolean in method public remove(key K, filter CacheEntryPredicate) : boolean in class org.apache.ignite.internal.processors.cache.GridCacheAdapter | From | To | |
Change Return Type V to boolean in method protected put0(key K, val V, filter CacheEntryPredicate) : boolean in class org.apache.ignite.internal.processors.cache.local.atomic.GridLocalAtomicCache | From | To | |
Change Return Type boolean to V in method protected getAndRemove0(key K) : V in class org.apache.ignite.internal.processors.cache.local.atomic.GridLocalAtomicCache | From | To | |
Rename Attribute | 2 | ||
Rename Attribute localMxBean : CacheMetricsMXBean to locMxBean : CacheMetricsMXBean in class org.apache.ignite.internal.processors.cache.GridCacheAdapter | From | To | |
Rename Attribute deferredUpdateMessageSender : GridDeferredAckMessageSender to deferredUpdateMsgSnd : GridDeferredAckMessageSender in class org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache | From | To | |
Change Variable Type | 1 | ||
Change Variable Type rmv : boolean to res : Boolean in method protected remove0(key K, filter CacheEntryPredicate) : boolean in class org.apache.ignite.internal.processors.cache.GridCacheAdapter | From | To | |
Extract Method | 15 | ||
Extract Method protected removeAsync0(key K, filter CacheEntryPredicate) : IgniteInternalFuture<Boolean> extracted from public removeAsync(key K, filter CacheEntryPredicate) : IgniteInternalFuture<Boolean> in class org.apache.ignite.internal.processors.cache.GridCacheAdapter | From | To | |
Extract Method protected getAndRemove0(key K) : V extracted from public getAndRemove(key K) : V in class org.apache.ignite.internal.processors.cache.GridCacheAdapter | From | To | |
Extract Method private invoke0(async boolean, key K, entryProcessor EntryProcessor<K,V,T>, args Object...) : IgniteInternalFuture<EntryProcessorResult<T>> extracted from public invokeAsync(key K, entryProcessor EntryProcessor<K,V,T>, args Object...) : IgniteInternalFuture<EntryProcessorResult<T>> in class org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache | From | To | |
Extract Method protected remove0(key K, filter CacheEntryPredicate) : boolean extracted from public remove(key K) : boolean in class org.apache.ignite.internal.processors.cache.GridCacheAdapter | From | To | |
Extract Method protected getAndRemoveAsync0(key K) : IgniteInternalFuture<V> extracted from public getAndRemoveAsync(key K) : IgniteInternalFuture<V> in class org.apache.ignite.internal.processors.cache.GridCacheAdapter | From | To | |
Extract Method protected getAndPut0(key K, val V, filter CacheEntryPredicate) : V extracted from public getAndPut(key K, val V, filter CacheEntryPredicate) : V in class org.apache.ignite.internal.processors.cache.GridCacheAdapter | From | To | |
Extract Method protected removeAllAsync0(keys Collection<? extends K>) : IgniteInternalFuture<Object> extracted from public removeAllAsync(keys Collection<? extends K>) : IgniteInternalFuture<?> in class org.apache.ignite.internal.processors.cache.GridCacheAdapter | From | To | |
Extract Method protected put0(key K, val V, filter CacheEntryPredicate) : boolean extracted from public put(key K, val V, filter CacheEntryPredicate) : boolean in class org.apache.ignite.internal.processors.cache.GridCacheAdapter | From | To | |
Extract Method protected removeAll0(keys Collection<? extends K>) : void extracted from public removeAll(keys Collection<? extends K>) : void in class org.apache.ignite.internal.processors.cache.GridCacheAdapter | From | To | |
Extract Method protected putAll0(m Map<? extends K,? extends V>) : void extracted from public putAll(m Map<? extends K,? extends V>) : void in class org.apache.ignite.internal.processors.cache.GridCacheAdapter | From | To | |
Extract Method public remove(key K, filter CacheEntryPredicate) : boolean extracted from public remove(key K, val V) : boolean in class org.apache.ignite.internal.processors.cache.GridCacheAdapter | From | To | |
Extract Method private getAllAsyncInternal(keys Collection<? extends K>, forcePrimary boolean, skipTx boolean, subjId UUID, taskName String, deserializeBinary boolean, skipVals boolean, canRemap boolean, needVer boolean, asyncOp boolean) : IgniteInternalFuture<Map<K,V>> extracted from public getAllAsync(keys Collection<? extends K>, forcePrimary boolean, skipTx boolean, subjId UUID, taskName String, deserializeBinary boolean, skipVals boolean, canRemap boolean, needVer boolean) : IgniteInternalFuture<Map<K,V>> in class org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache | From | To | |
Extract Method public remove(key K, filter CacheEntryPredicate) : boolean extracted from public remove(key K) : boolean in class org.apache.ignite.internal.processors.cache.GridCacheAdapter | From | To | |
Extract Method protected putAllAsync0(m Map<? extends K,? extends V>) : IgniteInternalFuture<?> extracted from public putAllAsync(m Map<? extends K,? extends V>) : IgniteInternalFuture<?> in class org.apache.ignite.internal.processors.cache.GridCacheAdapter | From | To | |
Extract Method private invokeAll0(async boolean, keys Set<? extends K>, entryProcessor EntryProcessor<K,V,T>, args Object...) : IgniteInternalFuture<Map<K,EntryProcessorResult<T>>> extracted from public invokeAllAsync(keys Set<? extends K>, entryProcessor EntryProcessor<K,V,T>, args Object...) : IgniteInternalFuture<Map<K,EntryProcessorResult<T>>> in class org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache | From | To | |
Rename Parameter | 1 | ||
Rename Parameter val : V to filter : CacheEntryPredicate in method public remove(key K, filter CacheEntryPredicate) : boolean in class org.apache.ignite.internal.processors.cache.distributed.near.GridNearAtomicCache | From | To |