76dc957f64fa38ce88694054db7dbf590f368ae7
Files Diff
- Added: 0
- Removed: 4
- Renamed: 0
- Modified: 39
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 3 | ||
Change Parameter Type nonceGroup : long to nonceKey : NonceKey in method public requestNamespaceLock(namespace String, type LockProcedure.LockType, description String, nonceKey NonceKey) : long in class org.apache.hadoop.hbase.master.locking.LockManager.RemoteLocks | From | To | |
Change Parameter Type nonceGroup : long to nonceKey : NonceKey in method public requestTableLock(tableName TableName, type LockProcedure.LockType, description String, nonceKey NonceKey) : long in class org.apache.hadoop.hbase.master.locking.LockManager.RemoteLocks | From | To | |
Change Parameter Type nonceGroup : long to nonceKey : NonceKey in method public requestRegionsLock(regionInfos HRegionInfo[], description String, nonceKey NonceKey) : long in class org.apache.hadoop.hbase.master.locking.LockManager.RemoteLocks | From | To | |
Inline Method | 1 | ||
Inline Method protected releaseTableLock() : void inlined to public prepare() : TakeSnapshotHandler in class org.apache.hadoop.hbase.master.snapshot.TakeSnapshotHandler | From | To | |
Extract Variable | 2 | ||
Extract Variable intLockStub : LockService.BlockingInterface in method protected createRegionServerStatusStub(refresh boolean) : ServerName from class org.apache.hadoop.hbase.regionserver.HRegionServer | From | To | |
Extract Variable intRssStub : RegionServerStatusService.BlockingInterface in method protected createRegionServerStatusStub(refresh boolean) : ServerName from class org.apache.hadoop.hbase.regionserver.HRegionServer | From | To | |
Change Variable Type | 1 | ||
Change Variable Type lock : TableLock to lock : EntityLock in method public compact(compaction CompactionContext, throughputController ThroughputController, user User) : List<StoreFile> in class org.apache.hadoop.hbase.regionserver.HMobStore | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type tableLock : TableLock to tableLock : LockManager.MasterLock in class org.apache.hadoop.hbase.master.snapshot.TakeSnapshotHandler | From | To | |
Inline Variable | 1 | ||
Inline Variable hasParentLock : boolean in method public releaseTableExclusiveLock(procedure Procedure, table TableName) : void from class org.apache.hadoop.hbase.master.procedure.MasterProcedureScheduler | From | To | |
Extract And Move Method | 1 | ||
Extract And Move Method package shutdown() : Thread extracted from public unlock() : void in class org.apache.hadoop.hbase.client.locking.EntityLock & moved to class org.apache.hadoop.hbase.client.locking.EntityLock.LockHeartbeatWorker | From | To | |
Rename Parameter | 3 | ||
Rename Parameter nonceGroup : long to nonceKey : NonceKey in method public requestRegionsLock(regionInfos HRegionInfo[], description String, nonceKey NonceKey) : long in class org.apache.hadoop.hbase.master.locking.LockManager.RemoteLocks | From | To | |
Rename Parameter nonceGroup : long to nonceKey : NonceKey in method public requestNamespaceLock(namespace String, type LockProcedure.LockType, description String, nonceKey NonceKey) : long in class org.apache.hadoop.hbase.master.locking.LockManager.RemoteLocks | From | To | |
Rename Parameter nonceGroup : long to nonceKey : NonceKey in method public requestTableLock(tableName TableName, type LockProcedure.LockType, description String, nonceKey NonceKey) : long in class org.apache.hadoop.hbase.master.locking.LockManager.RemoteLocks | From | To |