9d053e4742be47850c7078e79a824d7844ce6510
Files Diff
- Added: 2
- Removed: 1
- Renamed: 0
- Modified: 10
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 5 | ||
Rename Method public setConcurrentChangeState() : void renamed to public concurrentChangeState() : void in class org.apache.ignite.internal.processors.cache.ChangeGlobalStateMessage | From | To | |
Rename Method public getActBatch() : DynamicCacheChangeBatch renamed to public getDynamicCacheChangeBatch() : DynamicCacheChangeBatch in class org.apache.ignite.internal.processors.cache.ChangeGlobalStateMessage | From | To | |
Rename Method public getActivate() : Boolean renamed to public activate() : boolean in class org.apache.ignite.internal.processors.cache.ChangeGlobalStateMessage | From | To | |
Rename Method private internalCachesNames() : Set<String> renamed to private initializeInternalCachesNames() : void in class org.apache.ignite.internal.processors.cache.GridCacheProcessor | From | To | |
Rename Method public getRequestId() : UUID renamed to public requestId() : UUID in class org.apache.ignite.internal.processors.cache.ChangeGlobalStateMessage | From | To | |
Move And Inline Method | 1 | ||
Move And Inline Method public globalState() : CacheState moved from class org.apache.ignite.internal.processors.cache.GridCacheProcessor to class org.apache.ignite.internal.IgniteKernal & inlined to public active() : boolean | From | To | |
Move Method | 1 | ||
Move Method private createRequest(cfg CacheConfiguration, internalCaches Set<String>) : DynamicCacheChangeRequest from class org.apache.ignite.internal.processors.cache.GridCacheProcessor.ClusterStateManger to private createRequest(cfg CacheConfiguration) : DynamicCacheChangeRequest from class org.apache.ignite.internal.processors.cache.GridCacheProcessor | From | To | |
Change Return Type | 2 | ||
Change Return Type Set<String> to void in method private initializeInternalCachesNames() : void in class org.apache.ignite.internal.processors.cache.GridCacheProcessor | From | To | |
Change Return Type Boolean to boolean in method public activate() : boolean in class org.apache.ignite.internal.processors.cache.ChangeGlobalStateMessage | From | To | |
Extract Class | 1 | ||
Extract Class org.apache.ignite.internal.processors.cluster.GridClusterStateProcessor from class org.apache.ignite.internal.processors.cache.DynamicCacheChangeRequest | From | To | |
Rename Class | 1 | ||
Rename Class org.apache.ignite.internal.processors.cache.ChangeGlobalState renamed to org.apache.ignite.internal.processors.cache.ChangeGlobalStateMessage | From | To | |
Move And Rename Class | 3 | ||
Move And Rename Class org.apache.ignite.internal.processors.cache.GridCacheProcessor.ClientChangeGlobalStateRequestCompute moved and renamed to org.apache.ignite.internal.processors.cluster.GridClusterStateProcessor.ClientChangeGlobalStateComputeRequest | From | To | |
Move And Rename Class org.apache.ignite.internal.processors.cache.GridCacheProcessor.GridActivateFuture moved and renamed to org.apache.ignite.internal.processors.cluster.GridClusterStateProcessor.GridChangeGlobalStateFuture | From | To | |
Move And Rename Class org.apache.ignite.internal.processors.cache.GridCacheProcessor.ActivationContext moved and renamed to org.apache.ignite.internal.processors.cluster.GridClusterStateProcessor.ChangeGlobalStateContext | From | To | |
Replace Variable With Attribute | 2 | ||
Replace Variable With Attribute ex : Exception to changeGlobalStateException : Exception in method private sendLocalPartitions(node ClusterNode, id GridDhtPartitionExchangeId) : void in class org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture | From | To | |
Replace Variable With Attribute exs : Map<UUID,Exception> to changeGlobalStateExceptions : Map<UUID,Exception> in method private createPartitionsMessage() : GridDhtPartitionsFullMessage in class org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture | From | To | |
Rename Attribute | 2 | ||
Rename Attribute actBatch : DynamicCacheChangeBatch to changeGlobalStateBatch : DynamicCacheChangeBatch in class org.apache.ignite.internal.processors.cache.ChangeGlobalStateMessage | From | To | |
Rename Attribute exchangeNodes : List<ClusterNode> to svrNodes : List<ClusterNode> in class org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type activate : Boolean to activate : boolean in class org.apache.ignite.internal.processors.cache.ChangeGlobalStateMessage | From | To | |
Extract Method | 4 | ||
Extract Method public stopCaches(cancel boolean) : void extracted from public stop(cancel boolean) : void in class org.apache.ignite.internal.processors.cache.GridCacheProcessor | From | To | |
Extract Method private onKernalStart0() : void extracted from public onKernalStart() : void in class org.apache.ignite.internal.processors.datastructures.DataStructuresProcessor | From | To | |
Extract Method public onKernalStopCaches(cancel boolean) : void extracted from public onKernalStop(cancel boolean) : void in class org.apache.ignite.internal.processors.cache.GridCacheProcessor | From | To | |
Extract Method private onKernalStart0() : void extracted from public onActivate(ctx GridKernalContext) : void in class org.apache.ignite.internal.processors.datastructures.DataStructuresProcessor | From | To |