c2c2178b2eebe4439eadec6b37fae2566944c16b
Files Diff
- Added: 4
- Removed: 1
- Renamed: 0
- Modified: 36
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Move And Rename Method | 1 | ||
| Move And Rename Method public copyCellTo(cell Cell, buf ByteBuffer, offset int, len int) : Cell from class org.apache.hadoop.hbase.CellUtil to private copyToChunkCell(cell Cell, buf ByteBuffer, offset int, len int) : Cell from class org.apache.hadoop.hbase.regionserver.MemStoreLABImpl | From | To | |
| Change Parameter Type | 1 | ||
| Change Parameter Type chunks : BlockingQueue<Chunk> to chunks : Set<Integer> in method private putbackChunks(chunks Set<Integer>) : void in class org.apache.hadoop.hbase.regionserver.ChunkCreator.MemStoreChunkPool | From | To | |
| Move Method | 2 | ||
| Move Method package getPoolSize() : int from class org.apache.hadoop.hbase.regionserver.MemStoreChunkPool to package getPoolSize() : int from class org.apache.hadoop.hbase.regionserver.ChunkCreator | From | To | |
| Move Method package clearDisableFlag() : void from class org.apache.hadoop.hbase.regionserver.MemStoreChunkPool to package clearDisableFlag() : void from class org.apache.hadoop.hbase.regionserver.ChunkCreator | From | To | |
| Move Attribute | 4 | ||
| Move Attribute private chunkSize : int from class org.apache.hadoop.hbase.regionserver.MemStoreChunkPool to private chunkSize : int from class org.apache.hadoop.hbase.regionserver.ChunkCreator | From | To | |
| Move Attribute private offheap : boolean from class org.apache.hadoop.hbase.regionserver.MemStoreChunkPool to private offheap : boolean from class org.apache.hadoop.hbase.regionserver.ChunkCreator | From | To | |
| Move Attribute package chunkPoolDisabled : boolean from class org.apache.hadoop.hbase.regionserver.MemStoreChunkPool to package chunkPoolDisabled : boolean from class org.apache.hadoop.hbase.regionserver.ChunkCreator | From | To | |
| Move Attribute private LOG : Log from class org.apache.hadoop.hbase.regionserver.MemStoreChunkPool to private LOG : Log from class org.apache.hadoop.hbase.regionserver.ChunkCreator | From | To | |
| Extract Class | 1 | ||
| Extract Class org.apache.hadoop.hbase.regionserver.ChunkCreator from class org.apache.hadoop.hbase.regionserver.MemStoreChunkPool | From | To | |
| Move Class | 1 | ||
| Move Class org.apache.hadoop.hbase.regionserver.MemStoreChunkPool moved to org.apache.hadoop.hbase.regionserver.ChunkCreator.MemStoreChunkPool | From | To | |
| Change Variable Type | 2 | ||
| Change Variable Type oldPool : MemStoreChunkPool to oldCreator : ChunkCreator in method public testPutbackChunksMultiThreaded() : void in class org.apache.hadoop.hbase.regionserver.TestMemStoreChunkPool | From | To | |
| Change Variable Type pool : MemStoreChunkPool to newCreator : ChunkCreator in method public testPutbackChunksMultiThreaded() : void in class org.apache.hadoop.hbase.regionserver.TestMemStoreChunkPool | From | To | |
| Extract Method | 2 | ||
| Extract Method private recycleChunks() : void extracted from public decScannerCount() : void in class org.apache.hadoop.hbase.regionserver.MemStoreLABImpl | From | To | |
| Extract Method private recycleChunks() : void extracted from public close() : void in class org.apache.hadoop.hbase.regionserver.MemStoreLABImpl | From | To | |
| Rename Method | 1 | ||
| Rename Method private initializeMemStoreChunkPool() : void renamed to protected initializeMemStoreChunkCreator() : void in class org.apache.hadoop.hbase.regionserver.HRegionServer | From | To | |
| Pull Up Method | 2 | ||
| Pull Up Method public init() : void from class org.apache.hadoop.hbase.regionserver.OffheapChunk to public init() : void from class org.apache.hadoop.hbase.regionserver.Chunk | From | To | |
| Pull Up Method public init() : void from class org.apache.hadoop.hbase.regionserver.OnheapChunk to public init() : void from class org.apache.hadoop.hbase.regionserver.Chunk | From | To | |
| Rename Variable | 2 | ||
| Rename Variable pool : MemStoreChunkPool to newCreator : ChunkCreator in method public testPutbackChunksMultiThreaded() : void in class org.apache.hadoop.hbase.regionserver.TestMemStoreChunkPool | From | To | |
| Rename Variable oldPool : MemStoreChunkPool to oldCreator : ChunkCreator in method public testPutbackChunksMultiThreaded() : void in class org.apache.hadoop.hbase.regionserver.TestMemStoreChunkPool | From | To | |
| Rename Attribute | 4 | ||
| Rename Attribute chunkPool : MemStoreChunkPool to chunkCreator : ChunkCreator in class org.apache.hadoop.hbase.regionserver.MemStoreLABImpl | From | To | |
| Rename Attribute chunkPool : MemStoreChunkPool to chunkCreator : ChunkCreator in class org.apache.hadoop.hbase.regionserver.TestMemStoreChunkPool | From | To | |
| Rename Attribute pooledChunkQueue : BlockingQueue<Chunk> to chunks : Set<Integer> in class org.apache.hadoop.hbase.regionserver.MemStoreLABImpl | From | To | |
| Rename Attribute chunkPool : MemStoreChunkPool to chunkCreator : ChunkCreator in class org.apache.hadoop.hbase.regionserver.TestCompactingMemStore | From | To | |
| Change Attribute Type | 4 | ||
| Change Attribute Type chunkPool : MemStoreChunkPool to chunkCreator : ChunkCreator in class org.apache.hadoop.hbase.regionserver.TestCompactingMemStore | From | To | |
| Change Attribute Type chunkPool : MemStoreChunkPool to chunkCreator : ChunkCreator in class org.apache.hadoop.hbase.regionserver.MemStoreLABImpl | From | To | |
| Change Attribute Type pooledChunkQueue : BlockingQueue<Chunk> to chunks : Set<Integer> in class org.apache.hadoop.hbase.regionserver.MemStoreLABImpl | From | To | |
| Change Attribute Type chunkPool : MemStoreChunkPool to chunkCreator : ChunkCreator in class org.apache.hadoop.hbase.regionserver.TestMemStoreChunkPool | From | To |