4eae5a29749da1c34f1a2dd0b1f6aa6f7a9bbffd
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 6
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Rename Method | 3 | ||
| Rename Method public getReplaySequenceId() : long renamed to public getOrigLogSeqNum() : long in class org.apache.hadoop.hbase.regionserver.HRegion.ReplayBatchOperation | From | To | |
| Rename Method public getReplaySequenceId() : long renamed to public getOrigLogSeqNum() : long in class org.apache.hadoop.hbase.regionserver.HRegion.MutationBatchOperation | From | To | |
| Rename Method public abstract getReplaySequenceId() : long renamed to public abstract getOrigLogSeqNum() : long in class org.apache.hadoop.hbase.regionserver.HRegion.BatchOperation | From | To | |
| Move Method | 3 | ||
| Move Method private applyFamilyMapToMemStore(familyMap Map<byte[],List<Cell>>, memstoreAccounting MemStoreSizing) : void from class org.apache.hadoop.hbase.regionserver.HRegion to protected applyFamilyMapToMemStore(familyMap Map<byte[],List<Cell>>, memstoreAccounting MemStoreSizing) : void from class org.apache.hadoop.hbase.regionserver.HRegion.BatchOperation | From | To | |
| Move Method private mergeFamilyMaps(familyMap Map<byte[],List<Cell>>, toBeMerged Map<byte[],List<Cell>>) : void from class org.apache.hadoop.hbase.regionserver.HRegion to private mergeFamilyMaps(familyMap Map<byte[],List<Cell>>, toBeMerged Map<byte[],List<Cell>>) : void from class org.apache.hadoop.hbase.regionserver.HRegion.MutationBatchOperation | From | To | |
| Move Method private addFamilyMapToWALEdit(familyMap Map<byte[],List<Cell>>, walEdit WALEdit) : void from class org.apache.hadoop.hbase.regionserver.HRegion to private addFamilyMapToWALEdit(familyMap Map<byte[],List<Cell>>, walEdit WALEdit) : void from class org.apache.hadoop.hbase.regionserver.HRegion.BatchOperation | From | To | |
| Rename Variable | 1 | ||
| Rename Variable fromCP : WALEdit to finalSuccess : boolean in method private doMiniBatchMutate(batchOp BatchOperation<?>) : void in class org.apache.hadoop.hbase.regionserver.HRegion | From | To | |
| Rename Attribute | 1 | ||
| Rename Attribute replaySeqId : long to origLogSeqNum : long in class org.apache.hadoop.hbase.regionserver.HRegion.ReplayBatchOperation | From | To | |
| Change Variable Type | 1 | ||
| Change Variable Type fromCP : WALEdit to finalSuccess : boolean in method private doMiniBatchMutate(batchOp BatchOperation<?>) : void in class org.apache.hadoop.hbase.regionserver.HRegion | From | To | |
| Inline Variable | 2 | ||
| Inline Variable currentNonce : long in method private doMiniBatchMutate(batchOp BatchOperation<?>) : void from class org.apache.hadoop.hbase.regionserver.HRegion | From | To | |
| Inline Variable currentNonceGroup : long in method private doMiniBatchMutate(batchOp BatchOperation<?>) : void from class org.apache.hadoop.hbase.regionserver.HRegion | From | To | |
| Extract And Move Method | 2 | ||
| Extract And Move Method public lockRowsAndBuildMiniBatch(acquiredRowLocks List<RowLock>) : MiniBatchOperationInProgress<Mutation> extracted from private doMiniBatchMutate(batchOp BatchOperation<?>) : void in class org.apache.hadoop.hbase.regionserver.HRegion & moved to class org.apache.hadoop.hbase.regionserver.HRegion.BatchOperation | From | To | |
| Extract And Move Method public buildWALEdits(miniBatchOp MiniBatchOperationInProgress<Mutation>) : List<Pair<NonceKey,WALEdit>> extracted from private doMiniBatchMutate(batchOp BatchOperation<?>) : void in class org.apache.hadoop.hbase.regionserver.HRegion & moved to class org.apache.hadoop.hbase.regionserver.HRegion.BatchOperation | From | To | |
| Rename Parameter | 2 | ||
| Rename Parameter replaySeqId : long to origLogSeqNum : long in method private doWALAppend(walEdit WALEdit, durability Durability, clusterIds List<UUID>, now long, nonceGroup long, nonce long, origLogSeqNum long) : WriteEntry in class org.apache.hadoop.hbase.regionserver.HRegion | From | To | |
| Rename Parameter seqId : long to origLogSeqNum : long in method public ReplayBatchOperation(region HRegion, operations MutationReplay[], origLogSeqNum long) in class org.apache.hadoop.hbase.regionserver.HRegion.ReplayBatchOperation | From | To |