30a678312f03d98ce2e675b4180ef6c03ec3b197
Files Diff
- Added: 4
- Removed: 0
- Renamed: 0
- Modified: 15
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 1 | ||
Change Parameter Type ttl : long to plc : ExpiryPolicy in method private LocalStoreLoadClosure(p IgniteBiPredicate<K,V>, ldr IgniteDataLoaderImpl<K,V>, plc ExpiryPolicy) in class org.apache.ignite.internal.processors.cache.GridCacheAdapter.LocalStoreLoadClosure | From | To | |
Rename Variable | 1 | ||
Rename Variable newTtlResolved : boolean to readThrough : boolean 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 | |
Rename Attribute | 1 | ||
Rename Attribute ttl : long to plc : ExpiryPolicy in class org.apache.ignite.internal.processors.cache.GridCacheAdapter.LocalStoreLoadClosure | From | To | |
Extract Variable | 8 | ||
Extract Variable expireTime : long in method public innerUpdateLocal(ver GridCacheVersion, op GridCacheOperation, writeObj Object, invokeArgs Object[], writeThrough boolean, retval boolean, expiryPlc ExpiryPolicy, evt boolean, metrics boolean, filter IgnitePredicate<CacheEntry<K,V>>[], intercept boolean, subjId UUID, taskName String) : GridTuple3<Boolean,V,EntryProcessorResult<Object>> from class org.apache.ignite.internal.processors.cache.GridCacheMapEntry | From | To | |
Extract Variable cache0 : IgniteCache<Integer,Integer> in method private access(key Integer) : void from class org.apache.ignite.internal.processors.cache.expiry.IgniteCacheExpiryPolicyAbstractTest | From | To | |
Extract Variable ttl : long in method public innerUpdateLocal(ver GridCacheVersion, op GridCacheOperation, writeObj Object, invokeArgs Object[], writeThrough boolean, retval boolean, expiryPlc ExpiryPolicy, evt boolean, metrics boolean, filter IgnitePredicate<CacheEntry<K,V>>[], intercept boolean, subjId UUID, taskName String) : GridTuple3<Boolean,V,EntryProcessorResult<Object>> from class org.apache.ignite.internal.processors.cache.GridCacheMapEntry | From | To | |
Extract Variable ttl : long in method public userCommit() : void from class org.apache.ignite.internal.processors.cache.transactions.IgniteTxLocalAdapter | From | To | |
Extract Variable expireTime : long 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> from class org.apache.ignite.internal.processors.cache.GridCacheMapEntry | From | To | |
Extract Variable ttl : long 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> from class org.apache.ignite.internal.processors.cache.GridCacheMapEntry | From | To | |
Extract Method | 1 | ||
Extract Method private checkNoValue(keys Collection<Integer>) : void extracted from private waitExpired(keys Collection<Integer>) : void in class org.apache.ignite.internal.processors.cache.expiry.IgniteCacheExpiryPolicyAbstractTest | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type ttl : long to plc : ExpiryPolicy in class org.apache.ignite.internal.processors.cache.GridCacheAdapter.LocalStoreLoadClosure | From | To | |
Extract And Move Method | 1 | ||
Extract And Move Method public forTtl(ttl long) : GetExpiryPolicy extracted from protected processNearGetRequest(nodeId UUID, req GridNearGetRequest<K,V>) : void in class org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtCacheAdapter & moved to class org.apache.ignite.internal.processors.cache.GridCacheAdapter.GetExpiryPolicy | From | To | |
Rename Parameter | 1 | ||
Rename Parameter ttl : long to plc : ExpiryPolicy in method private LocalStoreLoadClosure(p IgniteBiPredicate<K,V>, ldr IgniteDataLoaderImpl<K,V>, plc ExpiryPolicy) in class org.apache.ignite.internal.processors.cache.GridCacheAdapter.LocalStoreLoadClosure | From | To |