9b0ce92d9f60004ec07cff137d7b0582c644a500
Files Diff
- Added: 3
 - Removed: 1
 - Renamed: 0
 - Modified: 17
 
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Rename Method | 6 | ||
| Rename Method public getOrAllocateForTree(idxName String) : RootPage renamed to public allocateIndex(idxName String) : RootPage in class org.apache.ignite.internal.processors.cache.persistence.IndexStorage | From | To | |
| Rename Method public dropRootPage(idxName String) : RootPage renamed to public dropIndex(idxName String) : RootPage in class org.apache.ignite.internal.processors.cache.persistence.IndexStorage | From | To | |
| Rename Method public getOrAllocateForTree(idxName String) : RootPage renamed to public allocateIndex(idxName String) : RootPage in class org.apache.ignite.internal.processors.cache.persistence.IndexStorageImpl | From | To | |
| Rename Method public markForRebuildFromHash(cacheName String) : void renamed to private markIndexRebuild(cacheName String, val boolean) : void in class org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing | From | To | |
| Rename Method public dropRootPage(idxName String) : RootPage renamed to public dropIndex(idxName String) : RootPage in class org.apache.ignite.internal.processors.cache.persistence.IndexStorageImpl | From | To | |
| Rename Method public rebuildIndexesFromHash(cacheName String) : void renamed to protected rebuildIndexesFromHash0(cctx GridCacheContext, clo SchemaIndexCacheVisitorClosure) : void in class org.apache.ignite.internal.processors.query.h2.GridIndexRebuildSelfTest.BlockingIndexing | From | To | |
| Move And Rename Method | 2 | ||
| Move And Rename Method public dropRootPageForIndex(cacheId int, idxName String) : void from class org.apache.ignite.internal.processors.cache.persistence.GridCacheOffheapManager to private maskCacheIndexName(cacheId Integer, idxName String, segment int) : String from class org.apache.ignite.internal.processors.cache.persistence.IndexStorageImpl | From | To | |
| Move And Rename Method public rootPageForIndex(cacheId int, idxName String) : RootPage from class org.apache.ignite.internal.processors.cache.persistence.GridCacheOffheapManager to private maskCacheIndexName(cacheId Integer, idxName String, segment int) : String from class org.apache.ignite.internal.processors.cache.persistence.IndexStorageImpl | From | To | |
| Change Parameter Type | 3 | ||
| Change Parameter Type cacheId : int to cacheId : Integer in method private maskCacheIndexName(cacheId Integer, idxName String, segment int) : String in class org.apache.ignite.internal.processors.cache.persistence.IndexStorageImpl | From | To | |
| Change Parameter Type cacheName : String to cctx : GridCacheContext in method protected rebuildIndexesFromHash0(cctx GridCacheContext, clo SchemaIndexCacheVisitorClosure) : void in class org.apache.ignite.internal.processors.query.h2.GridIndexRebuildSelfTest.BlockingIndexing | From | To | |
| Change Return Type | 2 | ||
| Change Return Type void to String in method private maskCacheIndexName(cacheId Integer, idxName String, segment int) : String in class org.apache.ignite.internal.processors.cache.persistence.IndexStorageImpl | From | To | |
| Change Return Type RootPage to String in method private maskCacheIndexName(cacheId Integer, idxName String, segment int) : String in class org.apache.ignite.internal.processors.cache.persistence.IndexStorageImpl | From | To | |
| Rename Class | 1 | ||
| Rename Class org.apache.ignite.internal.processors.query.h2.RebuildIndexFromHashClosure renamed to org.apache.ignite.internal.processors.query.h2.IndexRebuildFullClosure | From | To | |
| Extract Variable | 1 | ||
| Extract Variable qryProc : GridQueryProcessor in method public rebuildIndexesIfNeeded(fut GridDhtPartitionsExchangeFuture) : void from class org.apache.ignite.internal.processors.cache.persistence.GridCacheDatabaseSharedManager | From | To | |
| Extract Method | 3 | ||
| Extract Method private incrementModificationCounter() : void extracted from private commitUserIndex(ses Session, idxName String) : Index in class org.apache.ignite.internal.processors.query.h2.opt.GridH2Table | From | To | |
| Extract Method private incrementModificationCounter() : void extracted from public dropColumns(cols List<String>, ifExists boolean) : void in class org.apache.ignite.internal.processors.query.h2.opt.GridH2Table | From | To | |
| Extract Method private incrementModificationCounter() : void extracted from public addColumns(cols List<QueryField>, ifNotExists boolean) : void in class org.apache.ignite.internal.processors.query.h2.opt.GridH2Table | From | To | |
| Change Attribute Type | 1 | ||
| Change Attribute Type lock : ReadWriteLock to lock : ReentrantReadWriteLock in class org.apache.ignite.internal.processors.query.h2.opt.GridH2Table | From | To | |
| Rename Parameter | 1 | ||
| Rename Parameter cacheName : String to cctx : GridCacheContext in method protected rebuildIndexesFromHash0(cctx GridCacheContext, clo SchemaIndexCacheVisitorClosure) : void in class org.apache.ignite.internal.processors.query.h2.GridIndexRebuildSelfTest.BlockingIndexing | From | To |