7e956ed07c70c6d4de0ccb60a222529ecef3ea9b
Files Diff
- Added: 3
- Removed: 0
- Renamed: 0
- Modified: 19
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Return Type | 3 | ||
Change Return Type void to Set<UUID> in method public setOwners(p int, owners Set<UUID>, haveHistory boolean, updateSeq boolean) : Set<UUID> in class org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtPartitionTopology | From | To | |
Change Return Type void to Set<UUID> in method public setOwners(p int, owners Set<UUID>, haveHistory boolean, updateSeq boolean) : Set<UUID> in class org.apache.ignite.internal.processors.cache.distributed.dht.GridClientPartitionTopology | From | To | |
Change Return Type void to Set<UUID> in method public setOwners(p int, owners Set<UUID>, haveHistory boolean, updateSeq boolean) : Set<UUID> in class org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtPartitionTopologyImpl | From | To | |
Change Variable Type | 1 | ||
Change Variable Type e : Map.Entry<UUID,GridDhtPartitionsAbstractMessage> to e : Map.Entry<UUID,GridDhtPartitionsSingleMessage> in method private assignPartitionStates(top GridDhtPartitionTopology) : void in class org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture | From | To | |
Extract Variable | 1 | ||
Extract Variable cntr : long in method private assignPartitionStates(top GridDhtPartitionTopology) : void from class org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture | From | To | |
Change Attribute Type | 2 | ||
Change Attribute Type partCntrs : Map<Integer,Map<Integer,T2<Long,Long>>> to partCntrs : IgniteDhtPartitionCountersMap in class org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsFullMessage | From | To | |
Change Attribute Type msgs : ConcurrentMap<UUID,GridDhtPartitionsAbstractMessage> to msgs : ConcurrentMap<UUID,GridDhtPartitionsSingleMessage> in class org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture | From | To | |
Extract Method | 2 | ||
Extract Method protected destroyCacheDataStore0(store CacheDataStore) : void extracted from public destroyCacheDataStore(p int, store CacheDataStore) : void in class org.apache.ignite.internal.processors.cache.IgniteCacheOffheapManagerImpl | From | To | |
Extract Method private localPartition0(p int, topVer AffinityTopologyVersion, create boolean, showRenting boolean, updateSeq boolean) : GridDhtLocalPartition extracted from private localPartition(p int, topVer AffinityTopologyVersion, create boolean, updateSeq boolean) : GridDhtLocalPartition in class org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtPartitionTopologyImpl | From | To | |
Extract And Move Method | 2 | ||
Extract And Move Method public localPartition(p int, topVer AffinityTopologyVersion, create boolean, showRenting boolean) : GridDhtLocalPartition extracted from public GridDhtCacheEntry(ctx GridCacheContext, topVer AffinityTopologyVersion, key KeyCacheObject, hash int, val CacheObject) in class org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtCacheEntry & moved to class org.apache.ignite.internal.processors.cache.distributed.dht.GridClientPartitionTopology | From | To | |
Extract And Move Method public localPartition(p int, topVer AffinityTopologyVersion, create boolean, showRenting boolean) : GridDhtLocalPartition extracted from private partitionData(p int) : CacheDataStore in class org.apache.ignite.internal.processors.cache.IgniteCacheOffheapManagerImpl & moved to class org.apache.ignite.internal.processors.cache.distributed.dht.GridClientPartitionTopology | From | To | |
Rename Parameter | 1 | ||
Rename Parameter updateSeq : boolean to showRenting : boolean in method public localPartition(p int, topVer AffinityTopologyVersion, create boolean, showRenting boolean) : GridDhtLocalPartition in class org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtPartitionTopologyImpl | From | To |