711a0f40076ba004470c6f204a1c3fae5ce21d95
Files Diff
- Added: 3
- Removed: 1
- Renamed: 0
- Modified: 23
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 2 | ||
Rename Method public holderWaitListSize() : int renamed to public detectDeadlock(clientId int) : int in class org.neo4j.kernel.ha.lock.forseti.SharedLock | From | To | |
Rename Method public holderWaitListSize() : int renamed to public detectDeadlock(client int) : int in class org.neo4j.kernel.ha.lock.forseti.ForsetiLockManager.Lock | From | To | |
Change Parameter Type | 3 | ||
Change Parameter Type provider : Factory<VALUE> to provider : Function<KEY,VALUE> in method public TimedRepository(provider Function<KEY,VALUE>, reaper Consumer<VALUE>, timeout long, clock Clock) in class org.neo4j.kernel.impl.util.collection.TimedRepository | From | To | |
Change Parameter Type clientDescription : Function<Integer,String> to getClient : Function<Integer,ForsetiClient> in method public ForsetiClient(id int, lockMaps ConcurrentMap<Long,ForsetiLockManager.Lock>[], waitStrategies WaitStrategy<AcquireLockTimeoutException>[], clientPool LinkedQueuePool<ForsetiClient>, getClient Function<Integer,ForsetiClient>, deadlockResolutionStrategy DeadlockResolutionStrategy) in class org.neo4j.kernel.ha.lock.forseti.ForsetiClient | From | To | |
Change Parameter Type clientDescription : Function<Integer,String> to getClient : Function<Integer,ForsetiClient> in method public legendForClients(clientIds Set<Integer>, getClient Function<Integer,ForsetiClient>) : String in class org.neo4j.kernel.ha.lock.forseti.ForsetiLockManager | From | To | |
Rename Variable | 5 | ||
Rename Variable client2 : Locks.Client to tx1 : Locks.Client in method public shouldIncludeFriendlyNameInDeadlockExceptions() : void in class org.neo4j.kernel.ha.lock.forseti.ForsetiMessagesTest | From | To | |
Rename Variable client3 : Locks.Client to tx2 : Locks.Client in method public shouldIncludeFriendlyNameInDeadlockExceptions() : void in class org.neo4j.kernel.ha.lock.forseti.ForsetiMessagesTest | From | To | |
Rename Variable client2Error : String to tx1Error : String in method public shouldIncludeFriendlyNameInDeadlockExceptions() : void in class org.neo4j.kernel.ha.lock.forseti.ForsetiMessagesTest | From | To | |
Rename Variable client1Error : String to tx0Error : String in method public shouldIncludeFriendlyNameInDeadlockExceptions() : void in class org.neo4j.kernel.ha.lock.forseti.ForsetiMessagesTest | From | To | |
Rename Variable client1 : Locks.Client to tx0 : Locks.Client in method public shouldIncludeFriendlyNameInDeadlockExceptions() : void in class org.neo4j.kernel.ha.lock.forseti.ForsetiMessagesTest | From | To | |
Rename Class | 1 | ||
Rename Class org.neo4j.kernel.impl.locking.LegacyDeadlockCompatibility renamed to org.neo4j.kernel.impl.locking.LockingFuzzCompatibility | From | To | |
Rename Attribute | 1 | ||
Rename Attribute clientDescription : Function<Integer,String> to getClient : Function<Integer,ForsetiClient> in class org.neo4j.kernel.ha.lock.forseti.ForsetiClient | From | To | |
Split Attribute | 1 | ||
Split Attribute clientDescription : Function<Integer,String> to [deadlockStrategy : DeadlockResolutionStrategy, getClient : Function<Integer,ForsetiClient>] in class org.neo4j.kernel.ha.lock.forseti.ForsetiLockManager.ForsetiClientFlyweightPool | From | To | |
Change Attribute Type | 3 | ||
Change Attribute Type factory : Factory<VALUE> to factory : Function<KEY,VALUE> in class org.neo4j.kernel.impl.util.collection.TimedRepository | From | To | |
Change Attribute Type clientDescription : Function<Integer,String> to getClient : Function<Integer,ForsetiClient> in class org.neo4j.kernel.ha.lock.forseti.ForsetiClient | From | To | |
Change Attribute Type provider : Factory<Long> to provider : Function<Long,Long> in class org.neo4j.kernel.impl.util.collection.TimedRepositoryTest | From | To | |
Rename Parameter | 2 | ||
Rename Parameter clientDescription : Function<Integer,String> to getClient : Function<Integer,ForsetiClient> in method public legendForClients(clientIds Set<Integer>, getClient Function<Integer,ForsetiClient>) : String in class org.neo4j.kernel.ha.lock.forseti.ForsetiLockManager | From | To | |
Rename Parameter clientDescription : Function<Integer,String> to getClient : Function<Integer,ForsetiClient> in method public ForsetiClient(id int, lockMaps ConcurrentMap<Long,ForsetiLockManager.Lock>[], waitStrategies WaitStrategy<AcquireLockTimeoutException>[], clientPool LinkedQueuePool<ForsetiClient>, getClient Function<Integer,ForsetiClient>, deadlockResolutionStrategy DeadlockResolutionStrategy) in class org.neo4j.kernel.ha.lock.forseti.ForsetiClient | From | To |