7128a395085b60e86436f807b4bdbca83627d41a
Files Diff
- Added: 3
- Removed: 0
- Renamed: 0
- Modified: 50
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Move And Rename Method | 1 | ||
Move And Rename Method private createPartitionsMessage(nodes Collection<ClusterNode>) : GridDhtPartitionsFullMessage from class org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture to public createPartitionsFullMessage(nodes Collection<ClusterNode>, exchId GridDhtPartitionExchangeId, lastVer GridCacheVersion, compress boolean) : GridDhtPartitionsFullMessage from class org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager | From | To | |
Change Parameter Type | 2 | ||
Change Parameter Type msgs : Collection<TcpDiscoveryAbstractMessage> to msgs : Collection<PendingMessage> in method private prepareNodeAddedMessage(msg TcpDiscoveryAbstractMessage, destNodeId UUID, msgs Collection<PendingMessage>, discardMsgId IgniteUuid, discardCustomMsgId IgniteUuid) : void in class org.apache.ignite.spi.discovery.tcp.ServerImpl | From | To | |
Change Parameter Type nodes : Collection<? extends ClusterNode> to nodes : Collection<ClusterNode> in method private sendAllPartitions(nodes Collection<ClusterNode>) : boolean in class org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager | From | To | |
Change Return Type | 2 | ||
Change Return Type GridAffinityAssignment to AffinityAssignment in method public assignment(topVer AffinityTopologyVersion) : AffinityAssignment in class org.apache.ignite.internal.processors.cache.GridCacheAffinityManager | From | To | |
Change Return Type GridAffinityAssignment to AffinityAssignment in method public cachedAffinity(topVer AffinityTopologyVersion) : AffinityAssignment in class org.apache.ignite.internal.processors.affinity.GridAffinityAssignmentCache | From | To | |
Extract Variable | 4 | ||
Extract Variable partCntrsBytes0 : byte[] in method public prepareMarshal(ctx GridCacheSharedContext) : void from class org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsSingleMessage | From | To | |
Extract Variable partCntrsBytes0 : byte[] in method public prepareMarshal(ctx GridCacheSharedContext) : void from class org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsFullMessage | From | To | |
Extract Variable partsBytes0 : byte[] in method public prepareMarshal(ctx GridCacheSharedContext) : void from class org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsSingleMessage | From | To | |
Extract Variable partsBytes0 : byte[] in method public prepareMarshal(ctx GridCacheSharedContext) : void from class org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsFullMessage | From | To | |
Change Variable Type | 12 | ||
Change Variable Type pendingMsg : TcpDiscoveryAbstractMessage to pendingMsg : PendingMessage in method private hasPendingAddMessage(nodeId UUID) : boolean in class org.apache.ignite.spi.discovery.tcp.ServerImpl.RingMessageWorker | From | To | |
Change Variable Type aff : GridAffinityAssignment to aff : AffinityAssignment in method public primaryChanged(part int, startVer AffinityTopologyVersion, endVer AffinityTopologyVersion) : boolean in class org.apache.ignite.internal.processors.affinity.GridAffinityAssignmentCache | From | To | |
Change Variable Type assignment : GridAffinityAssignment to assignment : AffinityAssignment in method public primaryChanged(part int, startVer AffinityTopologyVersion, endVer AffinityTopologyVersion) : boolean in class org.apache.ignite.internal.processors.affinity.GridAffinityAssignmentCache | From | To | |
Change Variable Type aff : GridAffinityAssignment to aff : AffinityAssignment in method public assignments(topVer AffinityTopologyVersion) : List<List<ClusterNode>> in class org.apache.ignite.internal.processors.affinity.GridAffinityAssignmentCache | From | To | |
Change Variable Type it : Iterator<GridAffinityAssignment> to it : Iterator<HistoryAffinityAssignment> in method private onHistoryAdded(aff GridAffinityAssignment) : void in class org.apache.ignite.internal.processors.affinity.GridAffinityAssignmentCache | From | To | |
Change Variable Type aff0 : GridAffinityAssignment to aff0 : AffinityAssignment in method private onHistoryAdded(aff GridAffinityAssignment) : void in class org.apache.ignite.internal.processors.affinity.GridAffinityAssignmentCache | From | To | |
Change Variable Type polled : TcpDiscoveryAbstractMessage to polled : PendingMessage in method package add(msg TcpDiscoveryAbstractMessage) : void in class org.apache.ignite.spi.discovery.tcp.ServerImpl.PendingMessages | From | To | |
Change Variable Type cntr1 : Long to cntr1 : long in method public updateCounters(skipZeros boolean) : Map<Integer,Long> in class org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtPartitionTopologyImpl | From | To | |
Change Variable Type assignment : GridAffinityAssignment to assignment : AffinityAssignment in method public apply(fut IgniteInternalFuture<AffinityTopologyVersion>) : void in class org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPreloader.processAffinityAssignmentRequest.listen | From | To | |
Change Variable Type cache : GridAffinityAssignment to cache : AffinityAssignment in method public cachedAffinity(topVer AffinityTopologyVersion) : AffinityAssignment in class org.apache.ignite.internal.processors.affinity.GridAffinityAssignmentCache | From | To | |
Change Variable Type affAssignment : GridAffinityAssignment to affAssignment : AffinityAssignment in method public nodes(p int, topVer AffinityTopologyVersion) : List<ClusterNode> in class org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtPartitionTopologyImpl | From | To | |
Change Variable Type msg0 : TcpDiscoveryAbstractMessage to msg0 : PendingMessage in method private advance() : void in class org.apache.ignite.spi.discovery.tcp.ServerImpl.PendingMessages.SkipIterator | From | To | |
Extract Interface | 1 | ||
Extract Interface org.apache.ignite.internal.processors.affinity.AffinityAssignment from classes [org.apache.ignite.internal.processors.affinity.GridAffinityAssignment] | From | To | |
Extract Method | 1 | ||
Extract Method public createPartitionsSingleMessage(targetNode ClusterNode, exchangeId GridDhtPartitionExchangeId, clientOnlyExchange boolean, sndCounters boolean) : GridDhtPartitionsSingleMessage extracted from private sendLocalPartitions(node ClusterNode, id GridDhtPartitionExchangeId) : void in class org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager | From | To | |
Change Attribute Type | 3 | ||
Change Attribute Type affCache : ConcurrentNavigableMap<AffinityTopologyVersion,GridAffinityAssignment> to affCache : ConcurrentNavigableMap<AffinityTopologyVersion,HistoryAffinityAssignment> in class org.apache.ignite.internal.processors.affinity.GridAffinityAssignmentCache | From | To | |
Change Attribute Type msgs : Queue<TcpDiscoveryAbstractMessage> to msgs : Queue<PendingMessage> in class org.apache.ignite.spi.discovery.tcp.ServerImpl.PendingMessages | From | To | |
Change Attribute Type msgIt : Iterator<TcpDiscoveryAbstractMessage> to msgIt : Iterator<PendingMessage> in class org.apache.ignite.spi.discovery.tcp.ServerImpl.PendingMessages.SkipIterator | From | To | |
Rename Parameter | 1 | ||
Rename Parameter node : ClusterNode to targetNode : ClusterNode in method public createPartitionsSingleMessage(targetNode ClusterNode, exchangeId GridDhtPartitionExchangeId, clientOnlyExchange boolean, sndCounters boolean) : GridDhtPartitionsSingleMessage in class org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager | From | To |