183c6a4b761af33013d3361621bc3fc21a2eb7e1
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 34
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 4 | ||
Rename Method public onKernalStart(active boolean) : void renamed to public inMemoryReadyForRead() : void in class org.apache.ignite.internal.processors.metastorage.persistence.DistributedMetaStorageImpl | From | To | |
Rename Method private isBaselineAutoAdjustEnabled() : boolean renamed to private isTopologyWatcherEnabled() : boolean in class org.apache.ignite.internal.processors.cluster.baseline.autoadjust.ChangeTopologyWatcher | From | To | |
Rename Method public onActivate(kctx GridKernalContext) : void renamed to public inMemoryReadyForWrite() : void in class org.apache.ignite.internal.processors.metastorage.persistence.DistributedMetaStorageImpl | From | To | |
Rename Method public testNonPersistentCachesIgnoreBaselineTopology() : void renamed to public testNonPersistentCachesDontIgnoreBaselineTopology() : void in class org.apache.ignite.internal.processors.cache.distributed.CacheBaselineTopologyTest | From | To | |
Pull Up Method | 1 | ||
Pull Up Method public testUnstableTopology() : void from class org.apache.ignite.internal.processors.metastorage.DistributedMetaStoragePersistentTest to public testUnstableTopology() : void from class org.apache.ignite.internal.processors.metastorage.DistributedMetaStorageTest | From | To | |
Change Parameter Type | 2 | ||
Change Parameter Type excludeOrder : long to excludeConsistentId : Object in method public TestFilterExcludeNode(excludeConsistentId Object) in class org.apache.ignite.internal.processors.cache.IgniteDynamicCacheStartNoExchangeTimeoutTest.TestFilterExcludeNode | From | To | |
Change Parameter Type includeOrder : long to includeConsistentId : Object in method public TestFilterIncludeNode(includeConsistentId Object) in class org.apache.ignite.internal.processors.cache.IgniteDynamicCacheStartNoExchangeTimeoutTest.TestFilterIncludeNode | From | To | |
Replace Variable With Attribute | 1 | ||
Replace Variable With Attribute event : DiscoveryEvent to baselineTopology : BaselineTopology in method public calculate(topVer AffinityTopologyVersion, events ExchangeDiscoveryEvents, discoCache DiscoCache) : IdealAffinityAssignment in class org.apache.ignite.internal.processors.affinity.GridAffinityAssignmentCache | From | To | |
Rename Attribute | 3 | ||
Rename Attribute AUTO_ADJUST_TIMEOUT : int to autoAdjustTimeout : int in class org.apache.ignite.internal.processors.cluster.BaselineAutoAdjustTest | From | To | |
Rename Attribute includeOrder : long to includeConsistentId : Object in class org.apache.ignite.internal.processors.cache.IgniteDynamicCacheStartNoExchangeTimeoutTest.TestFilterIncludeNode | From | To | |
Rename Attribute excludeOrder : long to excludeConsistentId : Object in class org.apache.ignite.internal.processors.cache.IgniteDynamicCacheStartNoExchangeTimeoutTest.TestFilterExcludeNode | From | To | |
Change Variable Type | 1 | ||
Change Variable Type event : DiscoveryEvent to baselineTopology : BaselineTopology in method public calculate(topVer AffinityTopologyVersion, events ExchangeDiscoveryEvents, discoCache DiscoCache) : IdealAffinityAssignment in class org.apache.ignite.internal.processors.affinity.GridAffinityAssignmentCache | From | To | |
Extract Variable | 1 | ||
Extract Variable discoCache0 : DiscoCache in method public apply(fut IgniteFuture<?>) : void from class org.apache.ignite.internal.managers.discovery.GridDiscoveryManager.start.setListener.onDiscovery0.listen | From | To | |
Change Attribute Type | 2 | ||
Change Attribute Type includeOrder : long to includeConsistentId : Object in class org.apache.ignite.internal.processors.cache.IgniteDynamicCacheStartNoExchangeTimeoutTest.TestFilterIncludeNode | From | To | |
Change Attribute Type excludeOrder : long to excludeConsistentId : Object in class org.apache.ignite.internal.processors.cache.IgniteDynamicCacheStartNoExchangeTimeoutTest.TestFilterExcludeNode | From | To | |
Inline Variable | 1 | ||
Inline Variable event : DiscoveryEvent in method public calculate(topVer AffinityTopologyVersion, events ExchangeDiscoveryEvents, discoCache DiscoCache) : IdealAffinityAssignment from class org.apache.ignite.internal.processors.affinity.GridAffinityAssignmentCache | From | To | |
Extract Method | 4 | ||
Extract Method public updateTopologySnapshot() : void extracted from public start() : void in class org.apache.ignite.internal.managers.discovery.GridDiscoveryManager | From | To | |
Extract Method private recalculateBaselineAssignment(topVer AffinityTopologyVersion, events ExchangeDiscoveryEvents, prevAssignment IdealAffinityAssignment, sorted List<ClusterNode>, blt BaselineTopology) : void extracted from public calculate(topVer AffinityTopologyVersion, events ExchangeDiscoveryEvents, discoCache DiscoCache) : IdealAffinityAssignment in class org.apache.ignite.internal.processors.affinity.GridAffinityAssignmentCache | From | To | |
Rename Parameter | 3 | ||
Rename Parameter discoveryManager : GridDiscoveryManager to discoMgr : GridDiscoveryManager in method public isLocalNodeCoordinator(discoMgr GridDiscoveryManager) : boolean in class org.apache.ignite.internal.util.IgniteUtils | From | To | |
Rename Parameter excludeOrder : long to excludeConsistentId : Object in method public TestFilterExcludeNode(excludeConsistentId Object) in class org.apache.ignite.internal.processors.cache.IgniteDynamicCacheStartNoExchangeTimeoutTest.TestFilterExcludeNode | From | To | |
Rename Parameter includeOrder : long to includeConsistentId : Object in method public TestFilterIncludeNode(includeConsistentId Object) in class org.apache.ignite.internal.processors.cache.IgniteDynamicCacheStartNoExchangeTimeoutTest.TestFilterIncludeNode | From | To |