7dfaa3b062d5020debb5e716395f9b5603ec07ed
Files Diff
- Added: 7
- Removed: 2
- Renamed: 0
- Modified: 29
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Move Method | 1 | ||
Move Method private preloadEvent(type int, discoEvt DiscoveryEvent) : void from class org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionDemandPool to private preloadEvent(type int, discoEvt DiscoveryEvent) : void from class org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionDemander.RebalanceFuture | From | To | |
Change Return Type | 5 | ||
Change Return Type void to Callable<Boolean> in method public addAssignments(assignments GridDhtPreloaderAssignments, forcePreload boolean, caches Collection<String>, cnt int) : Callable<Boolean> in class org.apache.ignite.internal.processors.cache.GridCachePreloader | From | To | |
Change Return Type void to Callable<Boolean> in method package addAssignments(assigns GridDhtPreloaderAssignments, force boolean, caches Collection<String>, cnt int) : Callable<Boolean> in class org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionDemander | From | To | |
Change Return Type Set<Integer> to void in method private demandFromNode(node ClusterNode, topVer AffinityTopologyVersion, d GridDhtPartitionDemandMessage, exchFut GridDhtPartitionsExchangeFuture) : void in class org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionDemander.DemandWorker | From | To | |
Change Return Type boolean to void in method public tryEvict() : void in class org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtLocalPartition | From | To | |
Change Return Type IgniteInternalFuture<Boolean> to void in method package tryEvictAsync(updateSeq boolean) : void in class org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtLocalPartition | From | To | |
Extract Class | 1 | ||
Extract Class org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionDemander.RebalanceFuture from class org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionDemandPool | From | To | |
Rename Class | 2 | ||
Rename Class org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionDemandPool renamed to org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionDemander | From | To | |
Rename Class org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionSupplyPool renamed to org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionSupplier | From | To | |
Extract Method | 1 | ||
Extract Method protected awaitPartitionMapExchange(waitEvicts boolean) : void extracted from protected awaitPartitionMapExchange() : void in class org.apache.ignite.testframework.junits.common.GridCommonAbstractTest | From | To | |
Rename Parameter | 1 | ||
Rename Parameter busyLock : ReadWriteLock to demandLock : ReadWriteLock in method public GridDhtPartitionDemander(cctx GridCacheContext<?,?>, demandLock ReadWriteLock) in class org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionDemander | From | To |