c5b16623bf93400231b97eb374065b30155b8148
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 5
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method public testLockUseAfterWithMajorityPartition() : void renamed to public testLockUseAfterPartitionWithMajority() : void in class org.infinispan.lock.ClusteredLockSplitBrainTest | From | To | |
Change Parameter Type | 2 | ||
Change Parameter Type requestor : Object to requestors : Set<Object> in method public UnlockFunction(requestId String, requestors Set<Object>) in class org.infinispan.lock.impl.functions.UnlockFunction | From | To | |
Change Parameter Type owner : Object to possibleOwners : Set<Object> in method private unlock(requestId String, possibleOwners Set<Object>) : CompletableFuture<Boolean> in class org.infinispan.lock.impl.lock.ClusteredLockImpl | From | To | |
Move Method | 1 | ||
Move Method private createRequestId() : String from class org.infinispan.lock.impl.lock.ClusteredLockImpl.RequestHolder to private createRequestId() : String from class org.infinispan.lock.impl.lock.ClusteredLockImpl | From | To | |
Change Return Type | 2 | ||
Change Return Type Void to Boolean in method public apply(entryView EntryView.ReadWriteEntryView<ClusteredLockKey,ClusteredLockValue>) : Boolean in class org.infinispan.lock.impl.functions.UnlockFunction | From | To | |
Change Return Type CompletableFuture<Void> to CompletableFuture<Boolean> in method private unlock(requestId String, possibleOwners Set<Object>) : CompletableFuture<Boolean> in class org.infinispan.lock.impl.lock.ClusteredLockImpl | From | To | |
Rename Attribute | 1 | ||
Rename Attribute requestor : Object to requestors : Set<Object> in class org.infinispan.lock.impl.functions.UnlockFunction | From | To | |
Change Variable Type | 1 | ||
Change Variable Type unlockRequest : CompletableFuture<Void> to unlockRequest : CompletableFuture<Boolean> in method private unlock(requestId String, possibleOwners Set<Object>) : CompletableFuture<Boolean> in class org.infinispan.lock.impl.lock.ClusteredLockImpl | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type requestor : Object to requestors : Set<Object> in class org.infinispan.lock.impl.functions.UnlockFunction | From | To | |
Extract And Move Method | 1 | ||
Extract And Move Method private retryPendingRequests(value ClusteredLockValue) : void extracted from public entryModified(event CacheEntryModifiedEvent) : void in class org.infinispan.lock.impl.lock.ClusteredLockImpl.LockReleasedListener & moved to class org.infinispan.lock.impl.lock.ClusteredLockImpl | From | To | |
Rename Parameter | 3 | ||
Rename Parameter lock3 : ClusteredLock to lock : ClusteredLock in method private assertFailureFromMinorityPartition(lock ClusteredLock) : void in class org.infinispan.lock.ClusteredLockSplitBrainTest | From | To | |
Rename Parameter requestor : Object to requestors : Set<Object> in method public UnlockFunction(requestId String, requestors Set<Object>) in class org.infinispan.lock.impl.functions.UnlockFunction | From | To | |
Rename Parameter owner : Object to possibleOwners : Set<Object> in method private unlock(requestId String, possibleOwners Set<Object>) : CompletableFuture<Boolean> in class org.infinispan.lock.impl.lock.ClusteredLockImpl | From | To |