a63a81a51418a8ae1dadff019d9e5eace38e1631
Files Diff
- Added: 2
- Removed: 0
- Renamed: 0
- Modified: 171
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 1 | ||
Change Parameter Type fut : GridDhtTopologyFuture to fut : GridDhtPartitionsExchangeFuture in method public lastFinishedFuture(fut GridDhtPartitionsExchangeFuture) : void in class org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager | From | To | |
Rename Attribute | 1 | ||
Rename Attribute counters : Collection<PartitionUpdateCountersMessage> to updCntrs : Collection<PartitionUpdateCountersMessage> in class org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtTxPrepareRequest | From | To | |
Extract Variable | 3 | ||
Extract Variable topReadyFut0 : GridDhtTopologyFuture in method public topologyVersionFuture() : GridDhtTopologyFuture from class org.apache.ignite.internal.processors.cache.distributed.dht.topology.GridDhtPartitionTopologyImpl | From | To | |
Extract Variable diffVer : AffinityTopologyVersion in method private nodes0(p int, affAssignment AffinityAssignment, affNodes List<ClusterNode>) : List<ClusterNode> from class org.apache.ignite.internal.processors.cache.distributed.dht.topology.GridDhtPartitionTopologyImpl | From | To | |
Extract Variable done : boolean in method public initTxTopologyVersion(nodeId UUID, nearNode ClusterNode, nearLockVer GridCacheVersion, nearFutId IgniteUuid, nearMiniId int, firstClientReq boolean, topVer AffinityTopologyVersion, nearThreadId long, timeout long, txSubjectId UUID, txTaskNameHash int) : GridDhtTxLocal from class org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtTransactionalCacheAdapter | From | To | |
Change Variable Type | 1 | ||
Change Variable Type cur : GridDhtTopologyFuture to cur : GridDhtPartitionsExchangeFuture in method public lastFinishedFuture(fut GridDhtPartitionsExchangeFuture) : void in class org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type lastFinishedFut : AtomicReference<GridDhtTopologyFuture> to lastFinishedFut : AtomicReference<GridDhtPartitionsExchangeFuture> in class org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager | From | To | |
Extract Method | 3 | ||
Extract Method public assignment(topVer AffinityTopologyVersion, lastAffChangedTopVer AffinityTopologyVersion) : AffinityAssignment extracted from public assignment(topVer AffinityTopologyVersion) : AffinityAssignment in class org.apache.ignite.internal.processors.cache.GridCacheAffinityManager | From | To | |
Extract Method private completeAffReadyFuts(topVer AffinityTopologyVersion, err Throwable) : void extracted from public onExchangeDone(topVer AffinityTopologyVersion, initTopVer AffinityTopologyVersion, err Throwable) : void in class org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager | From | To | |
Extract Method public cachedAffinity(topVer AffinityTopologyVersion, lastAffChangeTopVer AffinityTopologyVersion) : AffinityAssignment extracted from public cachedAffinity(topVer AffinityTopologyVersion) : AffinityAssignment in class org.apache.ignite.internal.processors.affinity.GridAffinityAssignmentCache | From | To | |
Rename Parameter | 1 | ||
Rename Parameter counters : Collection<PartitionUpdateCountersMessage> to updCntrs : Collection<PartitionUpdateCountersMessage> in method public GridDhtTxPrepareRequest(futId IgniteUuid, miniId int, topVer AffinityTopologyVersion, tx GridDhtTxLocalAdapter, timeout long, dhtWrites Collection<IgniteTxEntry>, nearWrites Collection<IgniteTxEntry>, txNodes Map<UUID,Collection<UUID>>, nearXidVer GridCacheVersion, last boolean, onePhaseCommit boolean, subjId UUID, taskNameHash int, addDepInfo boolean, storeWriteThrough boolean, retVal boolean, mvccSnapshot MvccSnapshot, updCntrs Collection<PartitionUpdateCountersMessage>) in class org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtTxPrepareRequest | From | To |