51a202a4c48220fa919f47147bd4889033cd35a8
Files Diff
- Added: 20
- Removed: 0
- Renamed: 0
- Modified: 70
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Move And Inline Method | 1 | ||
Move And Inline Method public isKeyAbsentBefore() : boolean moved from class org.apache.ignite.internal.processors.cache.GridCacheMvccEntryInfo to class org.apache.ignite.internal.processors.cache.tree.mvcc.data.MvccUpdateDataRow & inlined to public visit(tree BPlusTree<CacheSearchRow,CacheDataRow>, io BPlusIO<CacheSearchRow>, pageAddr long, idx int, wal IgniteWriteAheadLogManager) : int | From | To | |
Move Method | 1 | ||
Move Method public mvccEnlistBatch(ctx GridCacheContext, op EnlistOperation, keys List<KeyCacheObject>, vals List<Message>, snapshot MvccSnapshot) : void from class org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtTxRemote to public mvccEnlistBatch(tx GridDhtTxRemote, ctx GridCacheContext, op EnlistOperation, keys List<KeyCacheObject>, vals List<Message>, snapshot MvccSnapshot, futId IgniteUuid, batchNum int) : void from class org.apache.ignite.internal.processors.cache.transactions.IgniteTxHandler | From | To | |
Rename Attribute | 1 | ||
Rename Attribute historyRows : List<MvccLinkAwareSearchRow> to histRows : List<MvccLinkAwareSearchRow> in class org.apache.ignite.internal.processors.cache.tree.mvcc.data.MvccUpdateDataRow | From | To | |
Extract Variable | 8 | ||
Extract Variable atomicityMode : CacheAtomicityMode in method private randomUpdate(rnd Random, evtsQueues List<BlockingQueue<CacheEntryEvent<?,?>>>, expData ConcurrentMap<Object,Object>, partCntr Map<Integer,Long>, cache IgniteCache<Object,Object>) : void from class org.apache.ignite.internal.processors.cache.query.continuous.CacheContinuousQueryRandomOperationsTest | From | To | |
Extract Variable concurrency : TransactionConcurrency in method private randomUpdate(rnd Random, evtsQueues List<BlockingQueue<CacheEntryEvent<?,?>>>, expData ConcurrentMap<Object,Object>, partCntr Map<Integer,Long>, cache IgniteCache<Object,Object>) : void from class org.apache.ignite.internal.processors.cache.query.continuous.CacheContinuousQueryRandomOperationsTest | From | To | |
Extract Variable isolation : TransactionIsolation in method private randomUpdate(rnd Random, evtsQueues List<BlockingQueue<CacheEntryEvent<?,?>>>, expData ConcurrentMap<Object,Object>, partCntr Map<Integer,Long>, cache IgniteCache<Object,Object>) : void from class org.apache.ignite.internal.processors.cache.query.continuous.CacheContinuousQueryRandomOperationsTest | From | To | |
Extract Variable proc : EntrySetValueProcessor in method private randomUpdate(rnd Random, evtsQueues List<BlockingQueue<CacheEntryEvent<?,?>>>, expData ConcurrentMap<Object,Object>, partCntr Map<Integer,Long>, cache IgniteCache<Object,Object>) : void from class org.apache.ignite.internal.processors.cache.query.continuous.CacheContinuousQueryFactoryFilterRandomOperationTest | From | To | |
Extract Variable proc : EntrySetValueProcessor in method private randomUpdate(rnd Random, evtsQueues List<BlockingQueue<CacheEntryEvent<?,?>>>, expData ConcurrentMap<Object,Object>, partCntr Map<Integer,Long>, cache IgniteCache<Object,Object>) : void from class org.apache.ignite.internal.processors.cache.query.continuous.CacheContinuousQueryRandomOperationsTest | From | To | |
Extract Variable concurrency : TransactionConcurrency in method private randomUpdate(rnd Random, evtsQueues List<BlockingQueue<CacheEntryEvent<?,?>>>, expData ConcurrentMap<Object,Object>, partCntr Map<Integer,Long>, cache IgniteCache<Object,Object>) : void from class org.apache.ignite.internal.processors.cache.query.continuous.CacheContinuousQueryFactoryFilterRandomOperationTest | From | To | |
Extract Variable atomicityMode : CacheAtomicityMode in method private randomUpdate(rnd Random, evtsQueues List<BlockingQueue<CacheEntryEvent<?,?>>>, expData ConcurrentMap<Object,Object>, partCntr Map<Integer,Long>, cache IgniteCache<Object,Object>) : void from class org.apache.ignite.internal.processors.cache.query.continuous.CacheContinuousQueryFactoryFilterRandomOperationTest | From | To | |
Extract Variable isolation : TransactionIsolation in method private randomUpdate(rnd Random, evtsQueues List<BlockingQueue<CacheEntryEvent<?,?>>>, expData ConcurrentMap<Object,Object>, partCntr Map<Integer,Long>, cache IgniteCache<Object,Object>) : void from class org.apache.ignite.internal.processors.cache.query.continuous.CacheContinuousQueryFactoryFilterRandomOperationTest | From | To | |
Extract Method | 2 | ||
Extract Method protected atomicityMode() : CacheAtomicityMode extracted from protected getConfiguration(igniteInstanceName String) : IgniteConfiguration in class org.apache.ignite.internal.processors.cache.query.continuous.IgniteCacheContinuousQueryImmutableEntryTest | From | To | |
Extract Method protected atomicityMode() : CacheAtomicityMode extracted from protected getConfiguration(igniteInstanceName String) : IgniteConfiguration in class org.apache.ignite.internal.processors.cache.query.continuous.IgniteCacheContinuousQueryClientTest | From | To | |
Extract And Move Method | 9 | ||
Extract And Move Method public oldValue(oldVal CacheObject) : void extracted from public apply(lockFut IgniteInternalFuture) : void in class org.apache.ignite.internal.processors.cache.GridCacheMapEntry.MvccRemoveLockListener & moved to class org.apache.ignite.internal.processors.cache.GridCacheUpdateTxResult | From | To | |
Extract And Move Method public oldValue(oldVal CacheObject) : void extracted from public apply(lockFut IgniteInternalFuture) : void in class org.apache.ignite.internal.processors.cache.GridCacheMapEntry.MvccUpdateLockListener & moved to class org.apache.ignite.internal.processors.cache.GridCacheUpdateTxResult | From | To | |
Extract And Move Method public oldValue(oldVal CacheObject) : void extracted from public mvccSet(tx IgniteInternalTx, affNodeId UUID, val CacheObject, entryProc EntryProcessor, invokeArgs Object[], ttl0 long, topVer AffinityTopologyVersion, mvccVer MvccSnapshot, op GridCacheOperation, needHistory boolean, noCreate boolean, filter CacheEntryPredicate, retVal boolean) : GridCacheUpdateTxResult in class org.apache.ignite.internal.processors.cache.GridCacheMapEntry & moved to class org.apache.ignite.internal.processors.cache.GridCacheUpdateTxResult | From | To | |
Extract And Move Method public oldValue(oldVal CacheObject) : void extracted from public mvccRemove(tx IgniteInternalTx, affNodeId UUID, topVer AffinityTopologyVersion, mvccVer MvccSnapshot, needHistory boolean, filter CacheEntryPredicate, retVal boolean) : GridCacheUpdateTxResult in class org.apache.ignite.internal.processors.cache.GridCacheMapEntry & moved to class org.apache.ignite.internal.processors.cache.GridCacheUpdateTxResult | From | To | |
Extract And Move Method public newValue(newVal CacheObject) : void extracted from public mvccSet(tx IgniteInternalTx, affNodeId UUID, val CacheObject, entryProc EntryProcessor, invokeArgs Object[], ttl0 long, topVer AffinityTopologyVersion, mvccVer MvccSnapshot, op GridCacheOperation, needHistory boolean, noCreate boolean, filter CacheEntryPredicate, retVal boolean) : GridCacheUpdateTxResult in class org.apache.ignite.internal.processors.cache.GridCacheMapEntry & moved to class org.apache.ignite.internal.processors.cache.GridCacheUpdateTxResult | From | To | |
Extract And Move Method public filtered(filtered boolean) : void extracted from public apply(lockFut IgniteInternalFuture) : void in class org.apache.ignite.internal.processors.cache.GridCacheMapEntry.MvccRemoveLockListener & moved to class org.apache.ignite.internal.processors.cache.GridCacheUpdateTxResult | From | To | |
Extract And Move Method public filtered(filtered boolean) : void extracted from public mvccRemove(tx IgniteInternalTx, affNodeId UUID, topVer AffinityTopologyVersion, mvccVer MvccSnapshot, needHistory boolean, filter CacheEntryPredicate, retVal boolean) : GridCacheUpdateTxResult in class org.apache.ignite.internal.processors.cache.GridCacheMapEntry & moved to class org.apache.ignite.internal.processors.cache.GridCacheUpdateTxResult | From | To | |
Extract And Move Method public filtered(filtered boolean) : void extracted from public apply(lockFut IgniteInternalFuture) : void in class org.apache.ignite.internal.processors.cache.GridCacheMapEntry.MvccUpdateLockListener & moved to class org.apache.ignite.internal.processors.cache.GridCacheUpdateTxResult | From | To | |
Extract And Move Method public filtered(filtered boolean) : void extracted from public mvccSet(tx IgniteInternalTx, affNodeId UUID, val CacheObject, entryProc EntryProcessor, invokeArgs Object[], ttl0 long, topVer AffinityTopologyVersion, mvccVer MvccSnapshot, op GridCacheOperation, needHistory boolean, noCreate boolean, filter CacheEntryPredicate, retVal boolean) : GridCacheUpdateTxResult in class org.apache.ignite.internal.processors.cache.GridCacheMapEntry & moved to class org.apache.ignite.internal.processors.cache.GridCacheUpdateTxResult | From | To | |
Rename Parameter | 1 | ||
Rename Parameter needHistory : boolean to needHist : boolean in method public MvccUpdateDataRow(cctx GridCacheContext, key KeyCacheObject, val CacheObject, ver GridCacheVersion, part int, expireTime long, mvccSnapshot MvccSnapshot, newVer MvccVersion, filter CacheEntryPredicate, primary boolean, lockOnly boolean, needHist boolean, fastUpdate boolean, needOldVal boolean, needPrevValue boolean) in class org.apache.ignite.internal.processors.cache.tree.mvcc.data.MvccUpdateDataRow | From | To |