ba79a989469fa663a138bd556fa234d42e29d702
Files Diff
- Added: 3
- Removed: 0
- Renamed: 0
- Modified: 10
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Pull Up Method | 2 | ||
Pull Up Method public waitForState(state State) : void from class alluxio.master.PrimarySelectorClient to public waitForState(state State) : void from class alluxio.master.AbstractPrimarySelector | From | To | |
Pull Up Method private setState(state State) : void from class alluxio.master.PrimarySelectorClient to protected setState(state State) : void from class alluxio.master.AbstractPrimarySelector | From | To | |
Move And Inline Method | 1 | ||
Move And Inline Method public setMode(mode Mode) : void moved from class alluxio.master.journal.AbstractJournalSystem to class alluxio.master.FaultTolerantAlluxioMasterProcess & inlined to public start() : void | From | To | |
Pull Up Attribute | 2 | ||
Pull Up Attribute private mStateLock : Lock from class alluxio.master.PrimarySelectorClient to private mStateLock : Lock from class alluxio.master.AbstractPrimarySelector | From | To | |
Pull Up Attribute private mState : State from class alluxio.master.PrimarySelectorClient to private mState : State from class alluxio.master.AbstractPrimarySelector | From | To | |
Extract Superclass | 1 | ||
Extract Superclass alluxio.master.AbstractPrimarySelector from classes [alluxio.master.PrimarySelectorClient] | From | To | |
Extract Method | 2 | ||
Extract Method private gainPrimacy() : boolean extracted from public start() : void in class alluxio.master.FaultTolerantAlluxioMasterProcess | From | To | |
Extract Method private losePrimacy() : void extracted from public start() : void in class alluxio.master.FaultTolerantAlluxioMasterProcess | From | To |