a9a0c38910f74b25c3e0e56cc886585680452428
Files Diff
- Added: 6
- Removed: 4
- Renamed: 0
- Modified: 9
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Replace Attribute | 1 | ||
Replace Attribute private cleanupTask : Consumer<Transaction> from class org.infinispan.client.hotrod.impl.transaction.SyncModeTransactionTable.SynchronizationAdapter with private cleanup : Consumer<Transaction> from class org.infinispan.client.hotrod.impl.transaction.SyncModeTransactionTable | From | To | |
Move And Rename Method | 2 | ||
Move And Rename Method package forget(xid Xid) : void from class org.infinispan.client.hotrod.impl.transaction.TransactionContext to package forgetTransaction(xid Xid) : void from class org.infinispan.client.hotrod.impl.transaction.AbstractTransactionTable | From | To | |
Move And Rename Method package complete(xid Xid, commit boolean) : int from class org.infinispan.client.hotrod.impl.transaction.TransactionContext to package completeTransaction(xid Xid, commit boolean) : int from class org.infinispan.client.hotrod.impl.transaction.AbstractTransactionTable | From | To | |
Move Method | 4 | ||
Move Method public newRecoveryOperation() : RecoveryOperation from class org.infinispan.client.hotrod.impl.operations.OperationsFactory to package newRecoveryOperation() : RecoveryOperation from class org.infinispan.client.hotrod.impl.transaction.TransactionOperationFactory | From | To | |
Move Method package fetchPreparedTransactions() : CompletableFuture<Collection<Xid>> from class org.infinispan.client.hotrod.impl.transaction.TransactionContext to package fetchPreparedTransactions() : CompletableFuture<Collection<Xid>> from class org.infinispan.client.hotrod.impl.transaction.AbstractTransactionTable | From | To | |
Move Method public newCompleteTransactionOperation(xid Xid, commit boolean) : CompleteTransactionOperation from class org.infinispan.client.hotrod.impl.operations.OperationsFactory to package newCompleteTransactionOperation(xid Xid, commit boolean) : CompleteTransactionOperation from class org.infinispan.client.hotrod.impl.transaction.TransactionOperationFactory | From | To | |
Move Method public newForgetTransactionOperation(xid Xid) : ForgetTransactionOperation from class org.infinispan.client.hotrod.impl.operations.OperationsFactory to package newForgetTransactionOperation(xid Xid) : ForgetTransactionOperation from class org.infinispan.client.hotrod.impl.transaction.TransactionOperationFactory | From | To | |
Pull Up Attribute | 2 | ||
Pull Up Attribute private timeout : long from class org.infinispan.client.hotrod.impl.transaction.XaModeTransactionTable to private timeout : long from class org.infinispan.client.hotrod.impl.transaction.AbstractTransactionTable | From | To | |
Pull Up Attribute private timeout : long from class org.infinispan.client.hotrod.impl.transaction.SyncModeTransactionTable to private timeout : long from class org.infinispan.client.hotrod.impl.transaction.AbstractTransactionTable | From | To | |
Move Attribute | 1 | ||
Move Attribute private timeout : long from class org.infinispan.client.hotrod.impl.transaction.SyncModeTransactionTable.SynchronizationAdapter to private timeout : long from class org.infinispan.client.hotrod.impl.transaction.AbstractTransactionTable | From | To | |
Extract Class | 2 | ||
Extract Class org.infinispan.client.hotrod.impl.transaction.AbstractTransactionTable from class org.infinispan.client.hotrod.impl.transaction.TransactionContext | From | To | |
Extract Class org.infinispan.client.hotrod.impl.transaction.TransactionOperationFactory from class org.infinispan.client.hotrod.impl.operations.OperationsFactory | From | To | |
Move Class | 4 | ||
Move Class org.infinispan.client.hotrod.impl.operations.RecoveryOperation moved to org.infinispan.client.hotrod.impl.transaction.operations.RecoveryOperation | From | To | |
Move Class org.infinispan.client.hotrod.impl.operations.CompleteTransactionOperation moved to org.infinispan.client.hotrod.impl.transaction.operations.CompleteTransactionOperation | From | To | |
Move Class org.infinispan.client.hotrod.impl.operations.ForgetTransactionOperation moved to org.infinispan.client.hotrod.impl.transaction.operations.ForgetTransactionOperation | From | To | |
Move Class org.infinispan.client.hotrod.impl.operations.PrepareTransactionOperation moved to org.infinispan.client.hotrod.impl.transaction.operations.PrepareTransactionOperation | From | To | |
Extract Superclass | 1 | ||
Extract Superclass org.infinispan.client.hotrod.impl.transaction.AbstractTransactionTable from classes [org.infinispan.client.hotrod.impl.transaction.SyncModeTransactionTable, org.infinispan.client.hotrod.impl.transaction.XaModeTransactionTable] | From | To | |
Extract Method | 2 | ||
Extract Method private doStartAndFinishScanTest(xaResourceSupplier XaResourceSupplier) : void extracted from public testStartAndFinishScan() : void in class org.infinispan.client.hotrod.tx.RecoveryTest | From | To | |
Extract Method private doRecoveryIterationTest(xaResourceSupplier XaResourceSupplier) : void extracted from public testRecoveryIteration() : void in class org.infinispan.client.hotrod.tx.RecoveryTest | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type xaTransactionTable : TransactionTable to xaTransactionTable : XaModeTransactionTable in class org.infinispan.client.hotrod.RemoteCacheManager | From | To |