d1449232525847d9a46005379d0ae060f601e4a4
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 4
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method package writeLockPage(absPtr long) : void renamed to package writeUnlockPage(absPtr long, newTag int) : void in class org.apache.ignite.internal.pagemem.impl.PageMemoryNoStoreImpl | From | To | |
Change Return Type | 4 | ||
Change Return Type void to boolean in method public writeLock(lock long, tag int) : boolean in class org.apache.ignite.internal.util.OffheapReadWriteLock | From | To | |
Change Return Type void to boolean in method package readLockPage(absPtr long, tag int) : boolean in class org.apache.ignite.internal.pagemem.impl.PageMemoryNoStoreImpl | From | To | |
Change Return Type void to boolean in method public readLock(lock long, tag int) : boolean in class org.apache.ignite.internal.util.OffheapReadWriteLock | From | To | |
Change Return Type boolean to Boolean in method public upgradeToWriteLock(lock long, tag int) : Boolean in class org.apache.ignite.internal.util.OffheapReadWriteLock | From | To | |
Extract Variable | 4 | ||
Extract Variable writeCond : Condition in method private signalNextWaiter(writeWaitCnt int, readWaitCnt int, idx int) : void from class org.apache.ignite.internal.util.OffheapReadWriteLock | From | To | |
Extract Variable readCondition : Condition in method private signalNextWaiter(writeWaitCnt int, readWaitCnt int, idx int) : void from class org.apache.ignite.internal.util.OffheapReadWriteLock | From | To | |
Extract Variable cond : Condition in method private signalNextWaiter(writeWaitCnt int, readWaitCnt int, idx int) : void from class org.apache.ignite.internal.util.OffheapReadWriteLock | From | To | |
Extract Method | 2 | ||
Extract Method private buildState(writersWait int, readersWait int, tag int, lock int) : long extracted from private updateState(state long, lockDelta int, readersWaitDelta int, writersWaitDelta int) : long in class org.apache.ignite.internal.util.OffheapReadWriteLock | From | To | |
Extract Method private signalNextWaiter(writeWaitCnt int, readWaitCnt int, idx int) : void extracted from public writeUnlock(lock long) : void in class org.apache.ignite.internal.util.OffheapReadWriteLock | From | To |