14c032ae293b1c85f9b66f9f7a77e0514d04e153
Files Diff
- Added: 0
 - Removed: 0
 - Renamed: 0
 - Modified: 16
 
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Rename Method | 4 | ||
| Rename Method private createPartition(p int) : GridDhtLocalPartition renamed to private getOrCreatePartition(p int) : GridDhtLocalPartition in class org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtPartitionTopologyImpl | From | To | |
| Rename Method private initPartitions0(affVer AffinityTopologyVersion, exchFut GridDhtPartitionsExchangeFuture, updateSeq long) : boolean renamed to private initPartitions(affVer AffinityTopologyVersion, affAssignment List<List<ClusterNode>>, exchFut GridDhtPartitionsExchangeFuture, updateSeq long) : boolean in class org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtPartitionTopologyImpl | From | To | |
| Rename Method private restorePartitionState(partStates Map<T2<Integer,Integer>,T2<Integer,Long>>, ignoreGrps Collection<Integer>) : void renamed to private restorePartitionStates(partStates Map<T2<Integer,Integer>,T2<Integer,Long>>, onlyForGroups Set<Integer>) : void in class org.apache.ignite.internal.processors.cache.persistence.GridCacheDatabaseSharedManager | From | To | |
| Rename Method private fromCacheSizes(sizesMap Map<Integer,Long>) : GridDhtPartitionsSingleMessage renamed to private from(countersMap Map<Integer,T2<Long,Long>>, sizesMap Map<Integer,Long>) : GridDhtPartitionsSingleMessage in class org.apache.ignite.internal.processors.cache.distributed.dht.GridCachePartitionsStateValidatorSelfTest | From | To | |
| Change Parameter Type | 1 | ||
| Change Parameter Type ignoreGrps : Collection<Integer> to onlyForGroups : Set<Integer> in method private restorePartitionStates(partStates Map<T2<Integer,Integer>,T2<Integer,Long>>, onlyForGroups Set<Integer>) : void in class org.apache.ignite.internal.processors.cache.persistence.GridCacheDatabaseSharedManager | From | To | |
| Rename Variable | 1 | ||
| Rename Variable locPart : GridDhtLocalPartition to part : GridDhtLocalPartition in method private rebalancePartition(p int, haveHistory boolean) : GridDhtLocalPartition in class org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtPartitionTopologyImpl | From | To | |
| Parameterize Variable | 1 | ||
| Parameterize Variable aff : List<List<ClusterNode>> to affAssignment : List<List<ClusterNode>> in method private initPartitions(affVer AffinityTopologyVersion, affAssignment List<List<ClusterNode>>, exchFut GridDhtPartitionsExchangeFuture, updateSeq long) : boolean in class org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtPartitionTopologyImpl | From | To | |
| Rename Attribute | 1 | ||
| Rename Attribute partSizesBytes : byte[] to partsSizesBytes : byte[] in class org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsSingleMessage | From | To | |
| Extract Method | 1 | ||
| Extract Method private rebalancePartition(p int, haveHistory boolean) : GridDhtLocalPartition extracted from public update(exchangeVer AffinityTopologyVersion, partMap GridDhtPartitionFullMap, incomeCntrMap CachePartitionFullCountersMap, partsToReload Set<Integer>, msgTopVer AffinityTopologyVersion) : boolean in class org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtPartitionTopologyImpl | From | To | |
| Rename Parameter | 2 | ||
| Rename Parameter owners : Set<UUID> to ownersByUpdCounters : Set<UUID> in method public setOwners(p int, ownersByUpdCounters Set<UUID>, haveHistory boolean, updateSeq boolean) : Set<UUID> in class org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtPartitionTopologyImpl | From | To | |
| Rename Parameter ignoreGrps : Collection<Integer> to onlyForGroups : Set<Integer> in method private restorePartitionStates(partStates Map<T2<Integer,Integer>,T2<Integer,Long>>, onlyForGroups Set<Integer>) : void in class org.apache.ignite.internal.processors.cache.persistence.GridCacheDatabaseSharedManager | From | To |