efcb60756ad75ef70e8e9ae603cf7c65cd46423d
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 3
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Parameterize Variable | 2 | ||
Parameterize Variable pIndex : long to index : long in method private notAvailableYet(index long, mask int, sBuffer AtomicLongArray, expectedSeq long) : boolean in class org.jctools.queues.atomic.MpmcAtomicArrayQueue | From | To | |
Parameterize Variable pIndex : long to index : long in method private notAvailable(index long, mask long, sBuffer long[], expectedSeq long) : boolean in class org.jctools.queues.MpmcArrayQueue | From | To | |
Extract Variable | 2 | ||
Extract Variable offset : int in method public fill(s Supplier<E>, limit int) : int from class org.jctools.queues.atomic.MpmcAtomicArrayQueue | From | To | |
Extract Variable offset : long in method public fill(s Supplier<E>, limit int) : int from class org.jctools.queues.MpmcArrayQueue | From | To | |
Extract Method | 6 | ||
Extract Method private fillOneByOne(s Supplier<E>, limit int) : int extracted from public fill(s Supplier<E>, limit int) : int in class org.jctools.queues.MpmcArrayQueue | From | To | |
Extract Method private notAvailable(index long, mask long, sBuffer long[], expectedSeq long) : boolean extracted from public fill(s Supplier<E>, limit int) : int in class org.jctools.queues.MpmcArrayQueue | From | To | |
Extract Method private drainOneByOne(c Consumer<E>, limit int) : int extracted from public drain(c Consumer<E>, limit int) : int in class org.jctools.queues.atomic.MpmcAtomicArrayQueue | From | To | |
Extract Method private drainOneByOne(c Consumer<E>, limit int) : int extracted from public drain(c Consumer<E>, limit int) : int in class org.jctools.queues.MpmcArrayQueue | From | To | |
Extract Method private fillOneByOne(s Supplier<E>, limit int) : int extracted from public fill(s Supplier<E>, limit int) : int in class org.jctools.queues.atomic.MpmcAtomicArrayQueue | From | To | |
Extract Method private notAvailableYet(index long, mask int, sBuffer AtomicLongArray, expectedSeq long) : boolean extracted from public fill(s Supplier<E>, limit int) : int in class org.jctools.queues.atomic.MpmcAtomicArrayQueue | From | To |