87cc9b45f959664b0069132ca00878ab9c60ab88
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 20
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Return Type | 1 | ||
Change Return Type Cache<ImmutableBytesPtr,Closeable> to Cache<ImmutableBytesPtr,CacheEntry> in method private getServerCaches() : Cache<ImmutableBytesPtr,CacheEntry> in class org.apache.phoenix.cache.TenantCacheImpl | From | To | |
Extract Variable | 1 | ||
Extract Variable cache : ServerCache in method private getIterators(scan List<List<Scan>>, services ConnectionQueryServices, isLocalIndex boolean, allIterators Queue<PeekingResultIterator>, iterators List<PeekingResultIterator>, isReverse boolean, maxQueryEndTime long, splitSize int, previousScan ScanWrapper, retryCount int) : List<PeekingResultIterator> from class org.apache.phoenix.iterate.BaseResultIterators | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type serverCaches : Cache<ImmutableBytesPtr,Closeable> to serverCaches : Cache<ImmutableBytesPtr,CacheEntry> in class org.apache.phoenix.cache.TenantCacheImpl | From | To | |
Extract Method | 3 | ||
Extract Method private getIfPresent(cacheId ImmutableBytesPtr) : CacheEntry extracted from public getServerCache(cacheId ImmutableBytesPtr) : Closeable in class org.apache.phoenix.cache.TenantCacheImpl | From | To | |
Extract Method private buildCache(ttl int, isPersistent boolean) : Cache<ImmutableBytesPtr,CacheEntry> extracted from private getServerCaches() : Cache<ImmutableBytesPtr,Closeable> in class org.apache.phoenix.cache.TenantCacheImpl | From | To | |
Extract Method public addServerCache(keyRanges ScanRanges, cacheId byte[], cachePtr ImmutableBytesWritable, txState byte[], cacheFactory ServerCacheFactory, cacheUsingTable PTable, usePersistentCache boolean, storeCacheOnClient boolean) : ServerCache extracted from public addServerCache(keyRanges ScanRanges, cachePtr ImmutableBytesWritable, txState byte[], cacheFactory ServerCacheFactory, cacheUsingTable PTable, storeCacheOnClient boolean) : ServerCache in class org.apache.phoenix.cache.ServerCacheClient | From | To |