3197f9b48d658a0ca19388612d87f4e5bde5e15c
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 30
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Inline Method | 1 | ||
Inline Method public dynamicDestroyCaches(cacheNames Collection<String>, checkThreadTx boolean, restart boolean, destroy boolean) : IgniteInternalFuture<?> inlined to public dynamicDestroyCaches(cacheNames Collection<String>, checkThreadTx boolean, destroy boolean) : IgniteInternalFuture<?> in class org.apache.ignite.internal.processors.cache.GridCacheProcessor | From | To | |
Rename Variable | 2 | ||
Rename Variable ccfg : CacheConfiguration to cacheName : String in method private processCacheChangeRequest0(req DynamicCacheChangeRequest, exchangeActions ExchangeActions, topVer AffinityTopologyVersion, persistedCfgs boolean, res CacheChangeProcessResult, reqsToComplete List<T2<DynamicCacheChangeRequest,AffinityTopologyVersion>>) : void in class org.apache.ignite.internal.processors.cache.ClusterCachesInfo | From | To | |
Rename Variable ccfg : CacheConfiguration<?,?> to restartId : IgniteUuid in method private processStopCacheRequest(exchangeActions ExchangeActions, req DynamicCacheChangeRequest, cacheName String, desc DynamicCacheDescriptor) : void in class org.apache.ignite.internal.processors.cache.ClusterCachesInfo | From | To | |
Extract Variable | 1 | ||
Extract Variable preloader : GridCachePreloader in method public dumpDebugInfo(exchFut GridDhtPartitionsExchangeFuture) : void from class org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager | From | To | |
Change Variable Type | 4 | ||
Change Variable Type proxy : IgniteCacheProxy<?,?> to proxy : IgniteCacheProxyImpl<?,?> in method public blockGateways() : void in class org.apache.ignite.internal.processors.cache.GridCacheProcessor | From | To | |
Change Variable Type ccfg : CacheConfiguration to cacheName : String in method private processCacheChangeRequest0(req DynamicCacheChangeRequest, exchangeActions ExchangeActions, topVer AffinityTopologyVersion, persistedCfgs boolean, res CacheChangeProcessResult, reqsToComplete List<T2<DynamicCacheChangeRequest,AffinityTopologyVersion>>) : void in class org.apache.ignite.internal.processors.cache.ClusterCachesInfo | From | To | |
Change Variable Type ccfg : CacheConfiguration<?,?> to restartId : IgniteUuid in method private processStopCacheRequest(exchangeActions ExchangeActions, req DynamicCacheChangeRequest, cacheName String, desc DynamicCacheDescriptor) : void in class org.apache.ignite.internal.processors.cache.ClusterCachesInfo | From | To | |
Change Variable Type ccfg : CacheConfiguration<?,?> to ccfg : CacheConfiguration in method private processTemplateAddRequest(persistedCfgs boolean, res CacheChangeProcessResult, req DynamicCacheChangeRequest) : void in class org.apache.ignite.internal.processors.cache.ClusterCachesInfo | From | To | |
Extract Method | 8 | ||
Extract Method private getContextSafe() : GridCacheContext<K,V> extracted from public context() : GridCacheContext<K,V> in class org.apache.ignite.internal.processors.cache.IgniteCacheProxyImpl | From | To | |
Extract Method public checkRestart(noWait boolean) : void extracted from public checkRestart() : void in class org.apache.ignite.internal.processors.cache.IgniteCacheProxyImpl | From | To | |
Extract Method private getContextSafe() : GridCacheContext<K,V> extracted from public internalProxy() : GridCacheProxyImpl<K,V> in class org.apache.ignite.internal.processors.cache.IgniteCacheProxyImpl | From | To | |
Extract Method private processStartAlreadyStartedCacheRequest(topVer AffinityTopologyVersion, persistedCfgs boolean, req DynamicCacheChangeRequest, cacheName String, desc DynamicCacheDescriptor) : boolean extracted from private processCacheChangeRequests(exchangeActions ExchangeActions, reqs Collection<DynamicCacheChangeRequest>, topVer AffinityTopologyVersion, persistedCfgs boolean) : CacheChangeProcessResult in class org.apache.ignite.internal.processors.cache.ClusterCachesInfo | From | To | |
Extract Method private processStartNewCacheRequest(exchangeActions ExchangeActions, topVer AffinityTopologyVersion, persistedCfgs boolean, res CacheChangeProcessResult, req DynamicCacheChangeRequest, cacheName String) : boolean extracted from private processCacheChangeRequests(exchangeActions ExchangeActions, reqs Collection<DynamicCacheChangeRequest>, topVer AffinityTopologyVersion, persistedCfgs boolean) : CacheChangeProcessResult in class org.apache.ignite.internal.processors.cache.ClusterCachesInfo | From | To | |
Extract Method private processStopCacheRequest(exchangeActions ExchangeActions, req DynamicCacheChangeRequest, cacheName String, desc DynamicCacheDescriptor) : void extracted from private processCacheChangeRequests(exchangeActions ExchangeActions, reqs Collection<DynamicCacheChangeRequest>, topVer AffinityTopologyVersion, persistedCfgs boolean) : CacheChangeProcessResult in class org.apache.ignite.internal.processors.cache.ClusterCachesInfo | From | To | |
Extract Method private processCacheChangeRequest0(req DynamicCacheChangeRequest, exchangeActions ExchangeActions, topVer AffinityTopologyVersion, persistedCfgs boolean, res CacheChangeProcessResult, reqsToComplete List<T2<DynamicCacheChangeRequest,AffinityTopologyVersion>>) : void extracted from private processCacheChangeRequests(exchangeActions ExchangeActions, reqs Collection<DynamicCacheChangeRequest>, topVer AffinityTopologyVersion, persistedCfgs boolean) : CacheChangeProcessResult in class org.apache.ignite.internal.processors.cache.ClusterCachesInfo | From | To | |
Extract Method private processTemplateAddRequest(persistedCfgs boolean, res CacheChangeProcessResult, req DynamicCacheChangeRequest) : void extracted from private processCacheChangeRequests(exchangeActions ExchangeActions, reqs Collection<DynamicCacheChangeRequest>, topVer AffinityTopologyVersion, persistedCfgs boolean) : CacheChangeProcessResult in class org.apache.ignite.internal.processors.cache.ClusterCachesInfo | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type restartingCaches : Set<String> to restartingCaches : ConcurrentHashMap<String,IgniteUuid> in class org.apache.ignite.internal.processors.cache.ClusterCachesInfo | From | To | |
Extract And Move Method | 1 | ||
Extract And Move Method public opportunisticRestart(cache IgniteInternalCache<K,V>) : void extracted from private checkProxyIsValid(gate GridCacheGateway<K,V>, tryRestart boolean) : GridCacheGateway<K,V> in class org.apache.ignite.internal.processors.cache.GatewayProtectedCacheProxy & moved to class org.apache.ignite.internal.processors.cache.IgniteCacheProxyImpl | From | To | |
Rename Parameter | 3 | ||
Rename Parameter msg : String to cacheName : String in method public IgniteCacheRestartingException(restartFut IgniteFuture<?>, cacheName String) in class org.apache.ignite.IgniteCacheRestartingException | From | To | |
Rename Parameter msg : String to cacheName : String in method public IgniteCacheRestartingException(restartFut IgniteFuture<?>, cacheName String, cause Throwable) in class org.apache.ignite.IgniteCacheRestartingException | From | To | |
Rename Parameter restart : boolean to destroy : boolean in method public dynamicDestroyCaches(cacheNames Collection<String>, checkThreadTx boolean, destroy boolean) : IgniteInternalFuture<?> in class org.apache.ignite.internal.processors.cache.GridCacheProcessor | From | To |