00e935d33cd852cdc2a460f24ca0f0136ac5c59e
Files Diff
- Added: 3
- Removed: 1
- Renamed: 0
- Modified: 20
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 3 | ||
Rename Method private updateLocalCounters() : void renamed to protected applyTxCounters() : void in class org.apache.ignite.internal.processors.cache.distributed.GridDistributedTxRemoteAdapter | From | To | |
Rename Method public updateCountersMap() : Map<Integer,GridDhtPartitionsUpdateCountersMap> renamed to public updateCounters() : Map<Integer,PartitionUpdateCounters> in class org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtTxFinishRequest | From | To | |
Rename Method private updateLocalPartitionCounters() : void renamed to private applyAndCollectLocalUpdateCounters() : Map<Integer,PartitionUpdateCounters> in class org.apache.ignite.internal.processors.cache.transactions.IgniteTxLocalAdapter | From | To | |
Push Down Method | 1 | ||
Push Down Method public updateCountersForNode(node ClusterNode) : Map<Integer,GridDhtPartitionsUpdateCountersMap> from class org.apache.ignite.internal.processors.cache.transactions.IgniteTxLocalAdapter to public filterUpdateCountersForBackupNode(node ClusterNode) : Map<Integer,PartitionUpdateCounters> from class org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtTxLocalAdapter | From | To | |
Change Parameter Type | 1 | ||
Change Parameter Type updCntrs : Map<Integer,GridDhtPartitionsUpdateCountersMap> to updCntrs : Map<Integer,PartitionUpdateCounters> in method public GridDhtTxFinishRequest(nearNodeId UUID, futId IgniteUuid, miniId int, topVer AffinityTopologyVersion, xidVer GridCacheVersion, commitVer GridCacheVersion, threadId long, isolation TransactionIsolation, commit boolean, invalidate boolean, sys boolean, plc byte, sysInvalidate boolean, syncMode CacheWriteSynchronizationMode, baseVer GridCacheVersion, committedVers Collection<GridCacheVersion>, rolledbackVers Collection<GridCacheVersion>, pendingVers Collection<GridCacheVersion>, txSize int, subjId UUID, taskNameHash int, addDepInfo boolean, updateIdxs Collection<Long>, retVal boolean, waitRemoteTxs boolean, mvccSnapshot MvccSnapshot, updCntrs Map<Integer,PartitionUpdateCounters>) in class org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtTxFinishRequest | From | To | |
Rename Variable | 7 | ||
Rename Variable part : GridDhtLocalPartition to dhtPart : GridDhtLocalPartition in method protected applyTxCounters() : void in class org.apache.ignite.internal.processors.cache.distributed.GridDistributedTxRemoteAdapter | From | To | |
Rename Variable entry : Map.Entry<Integer,Map<Integer,Long>> to p : Integer in method private applyAndCollectLocalUpdateCounters() : Map<Integer,PartitionUpdateCounters> in class org.apache.ignite.internal.processors.cache.transactions.IgniteTxLocalAdapter | From | To | |
Rename Variable partsCntrs : Map<Integer,Long> to parts : Set<Integer> in method private applyAndCollectLocalUpdateCounters() : Map<Integer,PartitionUpdateCounters> in class org.apache.ignite.internal.processors.cache.transactions.IgniteTxLocalAdapter | From | To | |
Rename Variable e : Map.Entry<Integer,Long> to entry : Map.Entry<Integer,Set<Integer>> in method private applyAndCollectLocalUpdateCounters() : Map<Integer,PartitionUpdateCounters> in class org.apache.ignite.internal.processors.cache.transactions.IgniteTxLocalAdapter | From | To | |
Rename Variable updCntrsMap : Map<Integer,GridDhtPartitionsUpdateCountersMap> to updCntrsForNode : Map<Integer,PartitionUpdateCounters> in method private finish(commit boolean, dhtMap Map<UUID,GridDistributedTxMapping>, nearMap Map<UUID,GridDistributedTxMapping>) : boolean in class org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtTxFinishFuture | From | To | |
Rename Variable cacheCtx : GridCacheContext to top : GridDhtPartitionTopology in method protected applyTxCounters() : void in class org.apache.ignite.internal.processors.cache.distributed.GridDistributedTxRemoteAdapter | From | To | |
Rename Variable updCntrsMap : Map<Integer,GridDhtPartitionsUpdateCountersMap> to updCntrs : Map<Integer,PartitionUpdateCounters> in method protected applyTxCounters() : void in class org.apache.ignite.internal.processors.cache.distributed.GridDistributedTxRemoteAdapter | From | To | |
Change Return Type | 3 | ||
Change Return Type Map<Integer,GridDhtPartitionsUpdateCountersMap> to Map<Integer,PartitionUpdateCounters> in method public updateCounters() : Map<Integer,PartitionUpdateCounters> in class org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtTxFinishRequest | From | To | |
Change Return Type Map<Integer,GridDhtPartitionsUpdateCountersMap> to Map<Integer,PartitionUpdateCounters> in method public filterUpdateCountersForBackupNode(node ClusterNode) : Map<Integer,PartitionUpdateCounters> in class org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtTxLocalAdapter | From | To | |
Change Return Type void to Map<Integer,PartitionUpdateCounters> in method private applyAndCollectLocalUpdateCounters() : Map<Integer,PartitionUpdateCounters> in class org.apache.ignite.internal.processors.cache.transactions.IgniteTxLocalAdapter | From | To | |
Rename Class | 1 | ||
Rename Class org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtPartitionsUpdateCountersMap renamed to org.apache.ignite.internal.processors.cache.distributed.dht.PartitionUpdateCounters | From | To | |
Change Variable Type | 7 | ||
Change Variable Type e : Map.Entry<Integer,Long> to entry : Map.Entry<Integer,Set<Integer>> in method private applyAndCollectLocalUpdateCounters() : Map<Integer,PartitionUpdateCounters> in class org.apache.ignite.internal.processors.cache.transactions.IgniteTxLocalAdapter | From | To | |
Change Variable Type updCntrsMap : Map<Integer,GridDhtPartitionsUpdateCountersMap> to updCntrsForNode : Map<Integer,PartitionUpdateCounters> in method private finish(commit boolean, dhtMap Map<UUID,GridDistributedTxMapping>, nearMap Map<UUID,GridDistributedTxMapping>) : boolean in class org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtTxFinishFuture | From | To | |
Change Variable Type cacheCtx : GridCacheContext to top : GridDhtPartitionTopology in method protected applyTxCounters() : void in class org.apache.ignite.internal.processors.cache.distributed.GridDistributedTxRemoteAdapter | From | To | |
Change Variable Type updCntrsMap : Map<Integer,GridDhtPartitionsUpdateCountersMap> to updCntrs : Map<Integer,PartitionUpdateCounters> in method protected applyTxCounters() : void in class org.apache.ignite.internal.processors.cache.distributed.GridDistributedTxRemoteAdapter | From | To | |
Change Variable Type entry : Map.Entry<Integer,GridDhtPartitionsUpdateCountersMap> to entry : Map.Entry<Integer,PartitionUpdateCounters> in method protected applyTxCounters() : void in class org.apache.ignite.internal.processors.cache.distributed.GridDistributedTxRemoteAdapter | From | To | |
Change Variable Type partsCntrs : Map<Integer,Long> to parts : Set<Integer> in method private applyAndCollectLocalUpdateCounters() : Map<Integer,PartitionUpdateCounters> in class org.apache.ignite.internal.processors.cache.transactions.IgniteTxLocalAdapter | From | To | |
Change Variable Type entry : Map.Entry<Integer,Map<Integer,Long>> to p : Integer in method private applyAndCollectLocalUpdateCounters() : Map<Integer,PartitionUpdateCounters> in class org.apache.ignite.internal.processors.cache.transactions.IgniteTxLocalAdapter | From | To | |
Extract Variable | 3 | ||
Extract Variable cacheUpdCntrs : Map<Integer,Long> in method protected applyTxCounters() : void from class org.apache.ignite.internal.processors.cache.distributed.GridDistributedTxRemoteAdapter | From | To | |
Extract Variable cacheId : int in method protected applyTxCounters() : void from class org.apache.ignite.internal.processors.cache.distributed.GridDistributedTxRemoteAdapter | From | To | |
Extract Variable cacheId : Integer in method private applyAndCollectLocalUpdateCounters() : Map<Integer,PartitionUpdateCounters> from class org.apache.ignite.internal.processors.cache.transactions.IgniteTxLocalAdapter | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type updCntrs : Map<Integer,GridDhtPartitionsUpdateCountersMap> to updCntrs : Map<Integer,PartitionUpdateCounters> in class org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtTxFinishRequest | From | To | |
Extract Method | 2 | ||
Extract Method public updateSize(cacheId int, delta long) : void extracted from package incrementSize(cacheId int) : void in class org.apache.ignite.internal.processors.cache.IgniteCacheOffheapManagerImpl.CacheDataStoreImpl | From | To | |
Extract Method public updateSize(cacheId int, delta long) : void extracted from package decrementSize(cacheId int) : void in class org.apache.ignite.internal.processors.cache.IgniteCacheOffheapManagerImpl.CacheDataStoreImpl | From | To | |
Extract And Move Method | 1 | ||
Extract And Move Method protected applyTxCounters() : void extracted from private updateLocalCounters() : void in class org.apache.ignite.internal.processors.cache.distributed.GridDistributedTxRemoteAdapter & moved to class org.apache.ignite.internal.processors.cache.transactions.IgniteTxAdapter | From | To |