8e8a0c3ffa15442018b9dc696f12210ee36b9898
Files Diff
- Added: 4
- Removed: 1
- Renamed: 0
- Modified: 12
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 2 | ||
Rename Method public resolveAtomic(e GridCacheEntryEx<K,V>, op GridCacheOperation, writeObj Object, valBytes byte[], expiryPlc IgniteCacheExpiryPolicy, drTtl long, drExpireTime long, drVer GridCacheVersion) : GridDrResolveResult<V> renamed to public conflictResolver() : GridCacheVersionAbstractConflictResolver in class org.apache.ignite.internal.processors.cache.dr.GridCacheDrManager | From | To | |
Rename Method public resolveAtomic(e GridCacheEntryEx<K,V>, op GridCacheOperation, writeObj Object, valBytes byte[], expiryPlc IgniteCacheExpiryPolicy, drTtl long, drExpireTime long, drVer GridCacheVersion) : GridDrResolveResult<V> renamed to public conflictResolver() : GridCacheVersionAbstractConflictResolver in class org.apache.ignite.internal.processors.cache.dr.os.GridOsCacheDrManager | From | To | |
Change Parameter Type | 1 | ||
Change Parameter Type drRes : GridDrResolveResult<V> to drRes : GridCacheVersionConflictContextImpl<K,V> in method public GridCacheUpdateAtomicResult(success boolean, oldVal V, newVal V, res EntryProcessorResult<?>, newTtl long, drExpireTime long, rmvVer GridCacheVersion, drRes GridCacheVersionConflictContextImpl<K,V>, sndToDht boolean) in class org.apache.ignite.internal.processors.cache.GridCacheUpdateAtomicResult | From | To | |
Change Return Type | 3 | ||
Change Return Type GridDrResolveResult<V> to GridCacheVersionConflictContextImpl<K,V> in method public drResolveResult() : GridCacheVersionConflictContextImpl<K,V> in class org.apache.ignite.internal.processors.cache.GridCacheUpdateAtomicResult | From | To | |
Change Return Type GridDrResolveResult<V> to GridCacheVersionAbstractConflictResolver in method public conflictResolver() : GridCacheVersionAbstractConflictResolver in class org.apache.ignite.internal.processors.cache.dr.GridCacheDrManager | From | To | |
Change Return Type GridDrResolveResult<V> to GridCacheVersionAbstractConflictResolver in method public conflictResolver() : GridCacheVersionAbstractConflictResolver in class org.apache.ignite.internal.processors.cache.dr.os.GridOsCacheDrManager | From | To | |
Move And Rename Class | 1 | ||
Move And Rename Class org.apache.ignite.internal.processors.cache.GridDrResolveResult moved and renamed to org.apache.ignite.internal.processors.cache.version.GridCacheVersionConflictContextImpl | From | To | |
Change Variable Type | 3 | ||
Change Variable Type drRes : GridDrResolveResult<V> to drRes : GridCacheVersionConflictContextImpl<K,V> in method public innerUpdate(newVer GridCacheVersion, evtNodeId UUID, affNodeId UUID, op GridCacheOperation, writeObj Object, valBytes byte[], invokeArgs Object[], writeThrough boolean, retval boolean, expiryPlc IgniteCacheExpiryPolicy, evt boolean, metrics boolean, primary boolean, verCheck boolean, filter IgnitePredicate<CacheEntry<K,V>>[], drType GridDrType, drTtl long, drExpireTime long, drVer GridCacheVersion, drResolve boolean, intercept boolean, subjId UUID, taskName String) : GridCacheUpdateAtomicResult<K,V> in class org.apache.ignite.internal.processors.cache.GridCacheMapEntry | From | To | |
Change Variable Type ctx : GridDrResolveResult<V> to ctx : GridCacheVersionConflictContextImpl<K,V> in method private updateSingle(node ClusterNode, hasNear boolean, req GridNearAtomicUpdateRequest<K,V>, res GridNearAtomicUpdateResponse<K,V>, locked List<GridDhtCacheEntry<K,V>>, ver GridCacheVersion, dhtFut GridDhtAtomicUpdateFuture<K,V>, completionCb CI2<GridNearAtomicUpdateRequest<K,V>,GridNearAtomicUpdateResponse<K,V>>, replicate boolean, taskName String, expiry IgniteCacheExpiryPolicy) : UpdateSingleResult<K,V> in class org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type drRes : GridDrResolveResult<V> to drRes : GridCacheVersionConflictContextImpl<K,V> in class org.apache.ignite.internal.processors.cache.GridCacheUpdateAtomicResult | From | To | |
Extract And Move Method | 3 | ||
Extract And Move Method public conflictNeedResolve(oldVer GridCacheVersion, newVer GridCacheVersion) : boolean extracted from private commitIfLocked() : void in class org.apache.ignite.internal.processors.cache.distributed.GridDistributedTxRemoteAdapter & moved to class org.apache.ignite.internal.processors.cache.GridCacheContext | From | To | |
Extract And Move Method public conflictNeedResolve(oldVer GridCacheVersion, newVer GridCacheVersion) : boolean extracted from public userCommit() : void in class org.apache.ignite.internal.processors.cache.transactions.IgniteTxLocalAdapter & moved to class org.apache.ignite.internal.processors.cache.GridCacheContext | From | To | |
Extract And Move Method public conflictNeedResolve(oldVer GridCacheVersion, newVer GridCacheVersion) : boolean extracted from public innerUpdate(newVer GridCacheVersion, evtNodeId UUID, affNodeId UUID, op GridCacheOperation, writeObj Object, valBytes byte[], invokeArgs Object[], writeThrough boolean, retval boolean, expiryPlc IgniteCacheExpiryPolicy, evt boolean, metrics boolean, primary boolean, verCheck boolean, filter IgnitePredicate<CacheEntry<K,V>>[], drType GridDrType, drTtl long, drExpireTime long, drVer GridCacheVersion, drResolve boolean, intercept boolean, subjId UUID, taskName String) : GridCacheUpdateAtomicResult<K,V> in class org.apache.ignite.internal.processors.cache.GridCacheMapEntry & moved to class org.apache.ignite.internal.processors.cache.GridCacheContext | From | To |