bbe6191a73ce6c4bc6fcd14c467f0e414f9f3a2b
Files Diff
- Added: 4
 - Removed: 2
 - Renamed: 0
 - Modified: 10
 
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Change Parameter Type | 1 | ||
| Change Parameter Type assign : GridAffinityAssignment to assign : AffinityAssignment in method package HistoryAffinityAssignment(assign AffinityAssignment) in class org.apache.ignite.internal.processors.affinity.HistoryAffinityAssignment | From | To | |
| Rename Variable | 2 | ||
| Rename Variable tmpPrimary : Map<UUID,Set<Integer>> to tmpPrm : Map<UUID,Set<Integer>> in method private initPrimaryBackupMaps() : void in class org.apache.ignite.internal.processors.affinity.GridAffinityAssignment | From | To | |
| Rename Variable tmpBackup : Map<UUID,Set<Integer>> to tmpBkp : Map<UUID,Set<Integer>> in method private initPrimaryBackupMaps() : void in class org.apache.ignite.internal.processors.affinity.GridAffinityAssignment | From | To | |
| Inline Method | 2 | ||
| Inline Method private getOrCreateAssignmentsIds(part int) : Collection<UUID> inlined to public getIds(part int) : HashSet<UUID> in class org.apache.ignite.internal.processors.affinity.GridAffinityAssignment | From | To | |
| Change Return Type | 1 | ||
| Change Return Type Collection<UUID> to HashSet<UUID> in method public getIds(part int) : HashSet<UUID> in class org.apache.ignite.internal.processors.affinity.GridAffinityAssignment | From | To | |
| Rename Class | 2 | ||
| Rename Class org.apache.ignite.internal.processors.affinity.GridAffinityAssignmentTestNoOptimizations renamed to org.apache.ignite.internal.processors.affinity.GridAffinityAssignmentV2TestNoOptimizations | From | To | |
| Rename Class org.apache.ignite.internal.processors.affinity.GridAffinityAssignmentTest renamed to org.apache.ignite.internal.processors.affinity.GridAffinityAssignmentV2Test | From | To | |
| Replace Variable With Attribute | 1 | ||
| Replace Variable With Attribute tmp : Map<UUID,Set<Integer>> to idealAssignment : List<List<ClusterNode>> in method package GridAffinityAssignment(topVer AffinityTopologyVersion, assignment List<List<ClusterNode>>, idealAssignment List<List<ClusterNode>>) in class org.apache.ignite.internal.processors.affinity.GridAffinityAssignment | From | To | |
| Change Variable Type | 9 | ||
| Change Variable Type aff : GridAffinityAssignment to aff : GridAffinityAssignmentV2 in method private awaitTopologyVersion(topVer AffinityTopologyVersion) : void in class org.apache.ignite.internal.processors.affinity.GridAffinityAssignmentCache | From | To | |
| Change Variable Type assignmentIds0 : List<Collection<UUID>> to assignmentIds0 : List<HashSet<UUID>> in method public getIds(part int) : HashSet<UUID> in class org.apache.ignite.internal.processors.affinity.GridAffinityAssignment | From | To | |
| Change Variable Type ga : GridAffinityAssignment to ga : GridAffinityAssignmentV2 in method private measure(aff RendezvousAffinityFunction, parts int, nodeCnt int, backups int) : void in class org.apache.ignite.internal.benchmarks.jol.GridAffinityAssignmentJolBenchmark | From | To | |
| Change Variable Type ga2 : GridAffinityAssignment to ga2 : GridAffinityAssignmentV2 in method private measure(aff RendezvousAffinityFunction, parts int, nodeCnt int, backups int) : void in class org.apache.ignite.internal.benchmarks.jol.GridAffinityAssignmentJolBenchmark | From | To | |
| Change Variable Type tmp : Map<UUID,Set<Integer>> to idealAssignment : List<List<ClusterNode>> in method package GridAffinityAssignment(topVer AffinityTopologyVersion, assignment List<List<ClusterNode>>, idealAssignment List<List<ClusterNode>>) in class org.apache.ignite.internal.processors.affinity.GridAffinityAssignment | From | To | |
| Change Variable Type assignmentCpy : GridAffinityAssignment to assignmentCpy : GridAffinityAssignmentV2 in method public clientEventTopologyChange(evt DiscoveryEvent, topVer AffinityTopologyVersion) : void in class org.apache.ignite.internal.processors.affinity.GridAffinityAssignmentCache | From | To | |
| Change Variable Type aff : GridAffinityAssignment to aff : GridAffinityAssignmentV2 in method public clientEventTopologyChange(evt DiscoveryEvent, topVer AffinityTopologyVersion) : void in class org.apache.ignite.internal.processors.affinity.GridAffinityAssignmentCache | From | To | |
| Change Variable Type aff : GridAffinityAssignment to aff : GridAffinityAssignmentV2 in method public readyFuture(topVer AffinityTopologyVersion) : IgniteInternalFuture<AffinityTopologyVersion> in class org.apache.ignite.internal.processors.affinity.GridAffinityAssignmentCache | From | To | |
| Change Variable Type assignment : GridAffinityAssignment to assignment : GridAffinityAssignmentV2 in method public initialize(topVer AffinityTopologyVersion, affAssignment List<List<ClusterNode>>) : void in class org.apache.ignite.internal.processors.affinity.GridAffinityAssignmentCache | From | To | |
| Extract Method | 2 | ||
| Extract Method private assertPartitions(gridAffinityAssignment AffinityAssignment) : void extracted from public testPrimaryBackupPartitions() : void in class org.apache.ignite.internal.processors.affinity.GridAffinityAssignmentV2Test | From | To | |
| Extract Method private initPrimaryBackupMaps() : void extracted from public GridAffinityAssignment(topVer AffinityTopologyVersion, assignment List<List<ClusterNode>>, idealAssignment List<List<ClusterNode>>) in class org.apache.ignite.internal.processors.affinity.GridAffinityAssignment | From | To | |
| Change Attribute Type | 2 | ||
| Change Attribute Type head : AtomicReference<GridAffinityAssignment> to head : AtomicReference<GridAffinityAssignmentV2> in class org.apache.ignite.internal.processors.affinity.GridAffinityAssignmentCache | From | To | |
| Change Attribute Type assignmentIds : List<Collection<UUID>> to assignmentIds : List<HashSet<UUID>> in class org.apache.ignite.internal.processors.affinity.GridAffinityAssignment | From | To |