92d04d57516391376d34aaca6307e5906ffa4ae8
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 11
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 3 | ||
Rename Method public getNewExternalJumboChunk(size int) : Chunk renamed to public getNewExternalChunk(size int) : Chunk in class org.apache.hadoop.hbase.regionserver.MemStoreLABImpl | From | To | |
Rename Method public getNewExternalJumboChunk(size int) : Chunk renamed to public getNewExternalChunk(size int) : Chunk in class org.apache.hadoop.hbase.regionserver.MemStoreLAB | From | To | |
Rename Method public getNewExternalJumboChunk(size int) : Chunk renamed to public getNewExternalChunk(size int) : Chunk in class org.apache.hadoop.hbase.regionserver.ImmutableMemStoreLAB | From | To | |
Move And Inline Method | 1 | ||
Move And Inline Method private createChunkForPool() : Chunk moved from class org.apache.hadoop.hbase.regionserver.ChunkCreator to class org.apache.hadoop.hbase.regionserver.ChunkCreator.MemStoreChunkPool & inlined to package MemStoreChunkPool(chunkSize int, maxCount int, initialCount int, poolSizePercentage float) | From | To | |
Move Attribute | 1 | ||
Move Attribute private chunkSize : int from class org.apache.hadoop.hbase.regionserver.MemStoreLABImpl to private chunkSize : int from class org.apache.hadoop.hbase.regionserver.ChunkCreator.MemStoreChunkPool | From | To | |
Rename Attribute | 4 | ||
Rename Attribute curChunk : AtomicReference<Chunk> to currChunk : AtomicReference<Chunk> in class org.apache.hadoop.hbase.regionserver.MemStoreLABImpl | From | To | |
Rename Attribute pool : MemStoreChunkPool to dataChunksPool : MemStoreChunkPool in class org.apache.hadoop.hbase.regionserver.ChunkCreator | From | To | |
Rename Attribute INSTANCE : ChunkCreator to instance : ChunkCreator in class org.apache.hadoop.hbase.regionserver.ChunkCreator | From | To | |
Rename Attribute chunkSize : int to dataChunkSize : int in class org.apache.hadoop.hbase.regionserver.MemStoreLABImpl | From | To | |
Extract Method | 7 | ||
Extract Method package getMaxCount(chunkType ChunkType) : int extracted from package getMaxCount() : int in class org.apache.hadoop.hbase.regionserver.ChunkCreator | From | To | |
Extract Method package getChunk(chunkIndexType CompactingMemStore.IndexType, chunkType ChunkType) : Chunk extracted from package getChunk() : Chunk in class org.apache.hadoop.hbase.regionserver.ChunkCreator | From | To | |
Extract Method package getChunk(chunkIndexType CompactingMemStore.IndexType, chunkType ChunkType) : Chunk extracted from package getChunk(chunkIndexType CompactingMemStore.IndexType) : Chunk in class org.apache.hadoop.hbase.regionserver.ChunkCreator | From | To | |
Extract Method private allocIndexChunks(numOfCells int) : Chunk[] extracted from private reinitializeCellSet(numOfCells int, segmentScanner KeyValueScanner, oldCellSet CellSet, action MemStoreCompactionStrategy.Action) : void in class org.apache.hadoop.hbase.regionserver.CellChunkImmutableSegment | From | To | |
Extract Method package getPoolSize(chunkType ChunkType) : int extracted from package getPoolSize() : int in class org.apache.hadoop.hbase.regionserver.ChunkCreator | From | To | |
Extract Method private allocIndexChunks(numOfCells int) : Chunk[] extracted from private initializeCellSet(numOfCells int, iterator MemStoreSegmentsIterator, action MemStoreCompactionStrategy.Action) : void in class org.apache.hadoop.hbase.regionserver.CellChunkImmutableSegment | From | To | |
Extract Method package getChunk(chunkIndexType CompactingMemStore.IndexType) : Chunk extracted from package getChunk() : Chunk in class org.apache.hadoop.hbase.regionserver.ChunkCreator.MemStoreChunkPool | From | To | |
Rename Parameter | 1 | ||
Rename Parameter numOfCellsInChunk : int to chunkSize : int in method private calculateNumberOfChunks(numOfCells int, chunkSize int) : int in class org.apache.hadoop.hbase.regionserver.CellChunkImmutableSegment | From | To |