2ab949349050a5affc66f01d4f2f00b81776143c
Files Diff
- Added: 2
- Removed: 1
- Renamed: 0
- Modified: 59
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 4 | ||
Rename Method public getMvccVacuumTimeInterval() : int renamed to public getMvccVacuumFrequency() : int in class org.apache.ignite.configuration.IgniteConfiguration | From | To | |
Rename Method public getMvccVacuumThreadCnt() : int renamed to public getMvccVacuumThreadCount() : int in class org.apache.ignite.configuration.IgniteConfiguration | From | To | |
Rename Method public setMvccVacuumThreadCnt(mvccVacuumThreadCnt int) : IgniteConfiguration renamed to public setMvccVacuumThreadCount(mvccVacuumThreadCnt int) : IgniteConfiguration in class org.apache.ignite.configuration.IgniteConfiguration | From | To | |
Rename Method public setMvccVacuumTimeInterval(mvccVacuumTimeInterval int) : IgniteConfiguration renamed to public setMvccVacuumFrequency(mvccVacuumFreq int) : IgniteConfiguration in class org.apache.ignite.configuration.IgniteConfiguration | From | To | |
Move And Rename Method | 1 | ||
Move And Rename Method public isMvccEnabled() : boolean from class org.apache.ignite.configuration.IgniteConfiguration to public mvccEnabled() : boolean from class org.apache.ignite.internal.processors.cache.mvcc.MvccProcessorImpl | From | To | |
Move And Inline Method | 1 | ||
Move And Inline Method public createProcessor(ctx GridKernalContext) : MvccProcessor moved from class org.apache.ignite.internal.processors.cache.mvcc.MvccUtils to class org.apache.ignite.internal.IgniteKernal & inlined to public start(cfg IgniteConfiguration, utilityCachePool ExecutorService, execSvc ExecutorService, svcExecSvc ExecutorService, sysExecSvc ExecutorService, stripedExecSvc StripedExecutor, p2pExecSvc ExecutorService, mgmtExecSvc ExecutorService, igfsExecSvc ExecutorService, dataStreamExecSvc StripedExecutor, restExecSvc ExecutorService, affExecSvc ExecutorService, idxExecSvc ExecutorService, callbackExecSvc IgniteStripedThreadPoolExecutor, qryExecSvc ExecutorService, schemaExecSvc ExecutorService, customExecSvcs Map<String,? extends ExecutorService>, errHnd GridAbsClosure, workerRegistry WorkersRegistry) : void | From | To | |
Change Parameter Type | 2 | ||
Change Parameter Type discoCache : DiscoCache to nodes : Collection<ClusterNode> in method package init(nodeQueries Map<UUID,GridLongList>, nodes Collection<ClusterNode>, mgr GridDiscoveryManager) : void in class org.apache.ignite.internal.processors.cache.mvcc.MvccPreviousCoordinatorQueries | From | To | |
Change Parameter Type topVer : long to evtType : int in method public onDiscoveryEvent(evtType int, nodes Collection<ClusterNode>, topVer long, customMsg DiscoveryCustomMessage) : void in class org.apache.ignite.internal.processors.cache.mvcc.MvccProcessorImpl | From | To | |
Move Method | 1 | ||
Move Method public mvccEnabled() : boolean from class org.apache.ignite.yardstick.IgniteBenchmarkArguments to public mvccEnabled() : boolean from class org.apache.ignite.internal.processors.cache.mvcc.MvccProcessorImpl | From | To | |
Rename Variable | 1 | ||
Rename Variable firstCctx : GridCacheContext to mvccCacheCtx : GridCacheContext in method private mvccTracker(stmt PreparedStatement, startTx boolean) : MvccQueryTracker in class org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing | From | To | |
Inline Method | 3 | ||
Inline Method private coordinatorVersion(topVer long) : long inlined to public onDiscoveryEvent(evtType int, nodes Collection<ClusterNode>, topVer long, customMsg DiscoveryCustomMessage) : void in class org.apache.ignite.internal.processors.cache.mvcc.MvccProcessorImpl | From | To | |
Inline Method public mvccEnabled(cfg IgniteConfiguration, ccfg CacheConfiguration, cacheType CacheType) : boolean inlined to package CacheGroupContext(ctx GridCacheSharedContext, grpId int, rcvdFrom UUID, cacheType CacheType, ccfg CacheConfiguration, affNode boolean, dataRegion DataRegion, cacheObjCtx CacheObjectContext, freeList FreeList, reuseList ReuseList, locStartVer AffinityTopologyVersion, persistenceEnabled boolean, walEnabled boolean) in class org.apache.ignite.internal.processors.cache.CacheGroupContext | From | To | |
Rename Attribute | 2 | ||
Rename Attribute mvccVacuumTimeInterval : int to mvccVacuumFreq : int in class org.apache.ignite.configuration.IgniteConfiguration | From | To | |
Rename Attribute INVOLVED_CACHES : int to MVCC_CACHE_ID : int in class org.apache.ignite.internal.processors.query.h2.PreparedStatementEx | From | To | |
Extract Method | 2 | ||
Extract Method protected getCacheAtomicityMode() : CacheAtomicityMode extracted from protected getConfiguration(igniteInstanceName String) : IgniteConfiguration in class org.apache.ignite.internal.processors.datastreamer.DataStreamProcessorSelfTest | From | To | |
Extract Method private assignMvccCoordinator(evtType int, nodes Collection<ClusterNode>, topVer long) : void extracted from public onDiscoveryEvent(evtType int, nodes Collection<ClusterNode>, topVer long) : void in class org.apache.ignite.internal.processors.cache.mvcc.MvccProcessorImpl | From | To | |
Extract And Move Method | 1 | ||
Extract And Move Method public validateCacheConfiguration(ccfg CacheConfiguration) : void extracted from private validate(c IgniteConfiguration, cc CacheConfiguration, cacheType CacheType, cfgStore CacheStore) : void in class org.apache.ignite.internal.processors.cache.GridCacheProcessor & moved to class org.apache.ignite.internal.processors.cache.mvcc.MvccProcessorImpl | From | To | |
Rename Parameter | 4 | ||
Rename Parameter mvccVacuumTimeInterval : int to mvccVacuumFreq : int in method public setMvccVacuumFrequency(mvccVacuumFreq int) : IgniteConfiguration in class org.apache.ignite.configuration.IgniteConfiguration | From | To | |
Rename Parameter topVer : long to evtType : int in method public onDiscoveryEvent(evtType int, nodes Collection<ClusterNode>, topVer long, customMsg DiscoveryCustomMessage) : void in class org.apache.ignite.internal.processors.cache.mvcc.MvccProcessorImpl | From | To | |
Rename Parameter newCoord : boolean to newCrd : boolean in method public onExchangeDone(newCrd boolean, discoCache DiscoCache, activeQueries Map<UUID,GridLongList>) : void in class org.apache.ignite.internal.processors.cache.mvcc.MvccProcessorImpl | From | To | |
Rename Parameter discoCache : DiscoCache to nodes : Collection<ClusterNode> in method package init(nodeQueries Map<UUID,GridLongList>, nodes Collection<ClusterNode>, mgr GridDiscoveryManager) : void in class org.apache.ignite.internal.processors.cache.mvcc.MvccPreviousCoordinatorQueries | From | To |