7a7b0817763eb746c846fa4686d5096bead84559
Files Diff
- Added: 2
- Removed: 1
- Renamed: 0
- Modified: 14
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method public numLockedInodes() : int renamed to public numInodes() : int in class alluxio.master.file.meta.CompositeInodeLockList | From | To | |
Push Down Method | 16 | ||
Push Down Method public get(index int) : Inode from class alluxio.master.file.meta.InodeLockList to public get(index int) : Inode from class alluxio.master.file.meta.SimpleInodeLockList | From | To | |
Push Down Method public lockInode(inode Inode, mode LockMode) : void from class alluxio.master.file.meta.InodeLockList to public lockInode(inode Inode, mode LockMode) : void from class alluxio.master.file.meta.SimpleInodeLockList | From | To | |
Push Down Method protected lastEntry() : Entry from class alluxio.master.file.meta.InodeLockList to private lastEntry() : Entry from class alluxio.master.file.meta.SimpleInodeLockList | From | To | |
Push Down Method public pushWriteLockedEdge(inode Inode, childName String) : void from class alluxio.master.file.meta.InodeLockList to public pushWriteLockedEdge(inode Inode, childName String) : void from class alluxio.master.file.meta.SimpleInodeLockList | From | To | |
Push Down Method public isEmpty() : boolean from class alluxio.master.file.meta.InodeLockList to public isEmpty() : boolean from class alluxio.master.file.meta.SimpleInodeLockList | From | To | |
Push Down Method public lockRootEdge(mode LockMode) : void from class alluxio.master.file.meta.InodeLockList to public lockRootEdge(mode LockMode) : void from class alluxio.master.file.meta.SimpleInodeLockList | From | To | |
Push Down Method public downgradeLastEdge() : void from class alluxio.master.file.meta.InodeLockList to public downgradeLastEdge() : void from class alluxio.master.file.meta.SimpleInodeLockList | From | To | |
Push Down Method public unlockLastInode() : void from class alluxio.master.file.meta.InodeLockList to public unlockLastInode() : void from class alluxio.master.file.meta.SimpleInodeLockList | From | To | |
Push Down Method public unlockLastEdge() : void from class alluxio.master.file.meta.InodeLockList to public unlockLastEdge() : void from class alluxio.master.file.meta.SimpleInodeLockList | From | To | |
Push Down Method public close() : void from class alluxio.master.file.meta.InodeLockList to public close() : void from class alluxio.master.file.meta.SimpleInodeLockList | From | To | |
Push Down Method public getLockMode() : LockMode from class alluxio.master.file.meta.InodeLockList to public getLockMode() : LockMode from class alluxio.master.file.meta.SimpleInodeLockList | From | To | |
Push Down Method public getLockedInodes() : List<Inode> from class alluxio.master.file.meta.InodeLockList to public getLockedInodes() : List<Inode> from class alluxio.master.file.meta.SimpleInodeLockList | From | To | |
Push Down Method public downgradeEdgeToInode(inode Inode, mode LockMode) : void from class alluxio.master.file.meta.InodeLockList to public downgradeEdgeToInode(inode Inode, mode LockMode) : void from class alluxio.master.file.meta.SimpleInodeLockList | From | To | |
Push Down Method public endsInInode() : boolean from class alluxio.master.file.meta.InodeLockList to public endsInInode() : boolean from class alluxio.master.file.meta.SimpleInodeLockList | From | To | |
Push Down Method public downgradeLastInode() : void from class alluxio.master.file.meta.InodeLockList to public downgradeLastInode() : void from class alluxio.master.file.meta.SimpleInodeLockList | From | To | |
Push Down Method public toString() : String from class alluxio.master.file.meta.InodeLockList to public toString() : String from class alluxio.master.file.meta.SimpleInodeLockList | From | To | |
Extract Subclass | 1 | ||
Extract Subclass alluxio.master.file.meta.SimpleInodeLockList from class alluxio.master.file.meta.InodeLockList | From | To | |
Inline Method | 1 | ||
Inline Method private isImplicitlyLocked() : boolean inlined to public addNextInode(inode Inode) : void in class alluxio.master.file.meta.LockedInodePath | From | To | |
Rename Variable | 1 | ||
Rename Variable ret : List<Inode> to inodes : List<Inode> in method public getLockedInodes() : List<Inode> in class alluxio.master.file.meta.CompositeInodeLockList | From | To | |
Push Down Attribute | 5 | ||
Push Down Attribute protected mEntries : List<Entry> from class alluxio.master.file.meta.InodeLockList to private mEntries : List<Entry> from class alluxio.master.file.meta.SimpleInodeLockList | From | To | |
Push Down Attribute protected mInodeLockManager : InodeLockManager from class alluxio.master.file.meta.InodeLockList to private mInodeLockManager : InodeLockManager from class alluxio.master.file.meta.SimpleInodeLockList | From | To | |
Push Down Attribute private ROOT_EDGE : Edge from class alluxio.master.file.meta.InodeLockList to private ROOT_EDGE : Edge from class alluxio.master.file.meta.SimpleInodeLockList | From | To | |
Push Down Attribute private INITIAL_CAPACITY : int from class alluxio.master.file.meta.InodeLockList to private INITIAL_CAPACITY : int from class alluxio.master.file.meta.SimpleInodeLockList | From | To | |
Push Down Attribute private LOG : Logger from class alluxio.master.file.meta.InodeLockList to private LOG : Logger from class alluxio.master.file.meta.SimpleInodeLockList | From | To | |
Rename Class | 1 | ||
Rename Class alluxio.master.file.meta.InodeLockListTest renamed to alluxio.master.file.meta.SimpleInodeLockListTest | From | To | |
Move Class | 2 | ||
Move Class alluxio.master.file.meta.InodeLockList.EdgeEntry moved to alluxio.master.file.meta.SimpleInodeLockList.EdgeEntry | From | To | |
Move Class alluxio.master.file.meta.InodeLockList.InodeEntry moved to alluxio.master.file.meta.SimpleInodeLockList.InodeEntry | From | To | |
Extract Superclass | 1 | ||
Extract Superclass alluxio.master.file.meta.SimpleInodeLockList.Entry from classes [alluxio.master.file.meta.SimpleInodeLockList.InodeEntry, alluxio.master.file.meta.SimpleInodeLockList.EdgeEntry] | From | To | |
Extract Method | 15 | ||
Extract Method private createInodeEntry(inode Inode, mode LockMode) : InodeEntry extracted from public downgradeLastInode() : void in class alluxio.master.file.meta.SimpleInodeLockList | From | To | |
Extract Method public lockEdge(lastInode Inode, childName String, mode LockMode) : void extracted from public pushWriteLockedEdge(inode Inode, childName String) : void in class alluxio.master.file.meta.SimpleInodeLockList | From | To | |
Extract Method public lockInode(inode Inode, mode LockMode) : void extracted from public pushWriteLockedEdge(inode Inode, childName String) : void in class alluxio.master.file.meta.SimpleInodeLockList | From | To | |
Extract Method public lockInode(inode Inode, mode LockMode) : void extracted from public downgradeLastInode() : void in class alluxio.master.file.meta.SimpleInodeLockList | From | To | |
Extract Method private createInodeEntry(inode Inode, mode LockMode) : InodeEntry extracted from public downgradeEdgeToInode(inode Inode, mode LockMode) : void in class alluxio.master.file.meta.SimpleInodeLockList | From | To | |
Extract Method private lastEdge() : Edge extracted from public pushWriteLockedEdge(inode Inode, childName String) : void in class alluxio.master.file.meta.SimpleInodeLockList | From | To | |
Extract Method private removeLastEntry() : void extracted from public unlockLastInode() : void in class alluxio.master.file.meta.SimpleInodeLockList | From | To | |
Extract Method private removeLastEntry() : void extracted from public unlockLastEdge() : void in class alluxio.master.file.meta.SimpleInodeLockList | From | To | |
Extract Method private lastEntry() : Entry extracted from public downgradeEdgeToInode(inode Inode, mode LockMode) : void in class alluxio.master.file.meta.SimpleInodeLockList | From | To | |
Extract Method private removeLastEntry() : void extracted from public downgradeEdgeToInode(inode Inode, mode LockMode) : void in class alluxio.master.file.meta.SimpleInodeLockList | From | To | |
Extract Method private lastEntry() : Entry extracted from public downgradeLastInode() : void in class alluxio.master.file.meta.SimpleInodeLockList | From | To | |
Extract Method public isEmpty() : boolean extracted from public pushWriteLockedEdge(inode Inode, childName String) : void in class alluxio.master.file.meta.SimpleInodeLockList | From | To | |
Extract Method private removeLastEntry() : void extracted from public downgradeLastInode() : void in class alluxio.master.file.meta.SimpleInodeLockList | From | To | |
Extract And Move Method | 1 | ||
Extract And Move Method public getLockedInodeViews() : List<InodeView> extracted from public getInodeViewList() : List<InodeView> in class alluxio.master.file.meta.LockedInodePath & moved to class alluxio.master.file.meta.InodeLockList | From | To |