c55fce00f3a5757c706ce50ed42980c7f6c4b97b
Files Diff
- Added: 4
- Removed: 2
- Renamed: 0
- Modified: 1
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Change Parameter Type | 1 | ||
| Change Parameter Type source : ReplicationSource to source : ReplicationSourceInterface in method public ReplicationSourceShipperThread(walGroupId String, queue PriorityBlockingQueue<Path>, replicationQueueInfo ReplicationQueueInfo, source ReplicationSourceInterface) in class org.apache.hadoop.hbase.replication.regionserver.ReplicationSource.ReplicationSourceShipperThread | From | To | |
| Move Method | 2 | ||
| Move Method private calculateTotalSizeOfStoreFiles(edit WALEdit) : int from class org.apache.hadoop.hbase.replication.regionserver.ReplicationSource.ReplicationSourceWorkerThread to private calculateTotalSizeOfStoreFiles(edit WALEdit) : int from class org.apache.hadoop.hbase.replication.regionserver.ReplicationSourceWALReaderThread | From | To | |
| Move Method private acquireBufferQuota(size long) : boolean from class org.apache.hadoop.hbase.replication.regionserver.ReplicationSource.ReplicationSourceWorkerThread to private acquireBufferQuota(size long) : boolean from class org.apache.hadoop.hbase.replication.regionserver.ReplicationSourceWALReaderThread | From | To | |
| Move Attribute | 1 | ||
| Move Attribute private totalBufferQuota : long from class org.apache.hadoop.hbase.replication.regionserver.ReplicationSource to private totalBufferQuota : long from class org.apache.hadoop.hbase.replication.regionserver.ReplicationSourceWALReaderThread | From | To | |
| Extract Class | 1 | ||
| Extract Class org.apache.hadoop.hbase.replication.regionserver.ReplicationSourceWALReaderThread from class org.apache.hadoop.hbase.replication.regionserver.ReplicationSource.ReplicationSourceWorkerThread | From | To | |
| Rename Class | 1 | ||
| Rename Class org.apache.hadoop.hbase.replication.regionserver.ReplicationSource.ReplicationSourceWorkerThread renamed to org.apache.hadoop.hbase.replication.regionserver.ReplicationSource.ReplicationSourceShipperThread | From | To | |
| Move Class | 1 | ||
| Move Class org.apache.hadoop.hbase.replication.regionserver.TestReplicationWALReaderManager.PathWatcher moved to org.apache.hadoop.hbase.replication.regionserver.TestWALEntryStream.PathWatcher | From | To | |
| Change Variable Type | 11 | ||
| Change Variable Type worker : ReplicationSourceWorkerThread to worker : ReplicationSourceShipperThread in method public run() : void in class org.apache.hadoop.hbase.replication.regionserver.ReplicationSource | From | To | |
| Change Variable Type extant : ReplicationSourceWorkerThread to extant : ReplicationSourceShipperThread in method public enqueueLog(log Path) : void in class org.apache.hadoop.hbase.replication.regionserver.ReplicationSource | From | To | |
| Change Variable Type worker : ReplicationSourceWorkerThread to worker : ReplicationSourceShipperThread in method public run() : void in class org.apache.hadoop.hbase.replication.regionserver.ReplicationSource.ReplicationSourceShipperThread | From | To | |
| Change Variable Type worker : ReplicationSourceWorkerThread to worker : ReplicationSourceShipperThread in method public enqueueLog(log Path) : void in class org.apache.hadoop.hbase.replication.regionserver.ReplicationSource | From | To | |
| Change Variable Type entry : Map.Entry<String,ReplicationSourceWorkerThread> to entry : Map.Entry<String,ReplicationSourceShipperThread> in method public getStats() : String in class org.apache.hadoop.hbase.replication.regionserver.ReplicationSource | From | To | |
| Change Variable Type workers : Collection<ReplicationSourceWorkerThread> to workers : Collection<ReplicationSourceShipperThread> in method public terminate(reason String, cause Exception, join boolean) : void in class org.apache.hadoop.hbase.replication.regionserver.ReplicationSource | From | To | |
| Change Variable Type worker : ReplicationSourceWorkerThread to worker : ReplicationSourceShipperThread in method public getStats() : String in class org.apache.hadoop.hbase.replication.regionserver.ReplicationSource | From | To | |
| Change Variable Type worker : ReplicationSourceWorkerThread to worker : ReplicationSourceShipperThread in method public getCurrentPath() : Path in class org.apache.hadoop.hbase.replication.regionserver.ReplicationSource | From | To | |
| Change Variable Type worker : ReplicationSourceWorkerThread to worker : ReplicationSourceShipperThread in method public terminate(reason String, cause Exception, join boolean) : void in class org.apache.hadoop.hbase.replication.regionserver.ReplicationSource | From | To | |
| Change Variable Type extant : ReplicationSourceWorkerThread to extant : ReplicationSourceShipperThread in method public run() : void in class org.apache.hadoop.hbase.replication.regionserver.ReplicationSource | From | To | |
| Extract Method | 1 | ||
| Extract Method private updateSerialRepPositions(lastPositionsForSerialScope Map<String,Long>) : void extracted from protected shipEdits(currentWALisBeingWrittenTo boolean, entries List<WAL.Entry>, lastPositionsForSerialScope Map<String,Long>) : void in class org.apache.hadoop.hbase.replication.regionserver.ReplicationSource.ReplicationSourceShipperThread | From | To | |
| Change Attribute Type | 2 | ||
| Change Attribute Type workerThreads : ConcurrentHashMap<String,ReplicationSourceWorkerThread> to workerThreads : ConcurrentHashMap<String,ReplicationSourceShipperThread> in class org.apache.hadoop.hbase.replication.regionserver.ReplicationSource | From | To | |
| Change Attribute Type source : ReplicationSource to source : ReplicationSourceInterface in class org.apache.hadoop.hbase.replication.regionserver.ReplicationSource.ReplicationSourceShipperThread | From | To |