c8f6da9c0785ac63a73a95eca916baf4669728df
Files Diff
- Added: 5
- Removed: 0
- Renamed: 0
- Modified: 27
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 5 | ||
Rename Method public cleanup() : void renamed to public onFinally() : void in class org.infinispan.remoting.inboundhandler.action.CompositeAction | From | To | |
Rename Method public cleanup(state ActionState) : void renamed to public onException(state ActionState) : void in class org.infinispan.remoting.inboundhandler.action.LockAction | From | To | |
Rename Method public getValue() : Object renamed to public getSequence() : long in class org.infinispan.commands.write.BackupWriteRcpCommand | From | To | |
Rename Method public cleanup(state ActionState) : void renamed to public onException(state ActionState) : void in class org.infinispan.remoting.inboundhandler.action.Action | From | To | |
Rename Method public cleanup() : void renamed to public onFinally() : void in class org.infinispan.remoting.inboundhandler.action.ReadyAction | From | To | |
Change Parameter Type | 2 | ||
Change Parameter Type command : RemoteLockCommand to command : ReplicableCommand in method public ActionState(command ReplicableCommand, commandTopologyId int, timeout long) in class org.infinispan.remoting.inboundhandler.action.ActionState | From | To | |
Change Parameter Type interceptorChain : InterceptorChain to interceptorChain : AsyncInterceptorChain in method public init(cache Cache, stateTransferExecutor ExecutorService, stateTransferManager StateTransferManager, interceptorChain AsyncInterceptorChain, icf InvocationContextFactory, configuration Configuration, rpcManager RpcManager, transactionManager TransactionManager, commandsFactory CommandsFactory, persistenceManager PersistenceManager, dataContainer DataContainer<Object,Object>, transactionTable TransactionTable, stateTransferLock StateTransferLock, cacheNotifier CacheNotifier, totalOrderManager TotalOrderManager, remoteCommandsExecutor BlockingTaskAwareExecutorService, commitManager CommitManager, commandAckCollector CommandAckCollector, triangleOrderManager TriangleOrderManager) : void in class org.infinispan.statetransfer.StateConsumerImpl | From | To | |
Rename Variable | 1 | ||
Rename Variable copy : PutMapCommand to backupPutMapRcpCommand : BackupPutMapRcpCommand in method private sendToBackups(command PutMapCommand, entries Map<Object,Object>, ch ConsistentHash) : void in class org.infinispan.interceptors.distribution.TriangleDistributionInterceptor | From | To | |
Change Return Type | 1 | ||
Change Return Type Object to long in method public getSequence() : long in class org.infinispan.commands.write.BackupWriteRcpCommand | From | To | |
Replace Variable With Attribute | 1 | ||
Replace Variable With Attribute segment : int to segmentId : int in method public DistributionInfo(key Object, ch ConsistentHash, self Address) in class org.infinispan.distribution.DistributionInfo | From | To | |
Change Variable Type | 2 | ||
Change Variable Type copy : PutMapCommand to backupPutMapRcpCommand : BackupPutMapRcpCommand in method private sendToBackups(command PutMapCommand, entries Map<Object,Object>, ch ConsistentHash) : void in class org.infinispan.interceptors.distribution.TriangleDistributionInterceptor | From | To | |
Change Variable Type interceptorChain : InterceptorChain to interceptorChain : AsyncInterceptorChain in method public test1() : void in class org.infinispan.statetransfer.StateConsumerTest | From | To | |
Extract Variable | 3 | ||
Extract Variable map : Map<Object,Object> in method private sendToBackups(command PutMapCommand, entries Map<Object,Object>, ch ConsistentHash) : void from class org.infinispan.interceptors.distribution.TriangleDistributionInterceptor | From | To | |
Extract Variable remoteLockCommand : RemoteLockCommand in method protected getAndUpdateFilteredKeys(state ActionState) : List<Object> from class org.infinispan.remoting.inboundhandler.action.BaseLockingAction | From | To | |
Extract Variable backupWriteRcpCommand : BackupWriteRcpCommand in method private primaryOwnerWrite(context InvocationContext, command DataWriteCommand, distributionInfo DistributionInfo) : BasicInvocationStage from class org.infinispan.interceptors.distribution.TriangleDistributionInterceptor | From | To | |
Change Attribute Type | 2 | ||
Change Attribute Type interceptorChain : InterceptorChain to interceptorChain : AsyncInterceptorChain in class org.infinispan.statetransfer.StateConsumerImpl | From | To | |
Change Attribute Type command : RemoteLockCommand to command : ReplicableCommand in class org.infinispan.remoting.inboundhandler.action.ActionState | From | To | |
Rename Parameter | 1 | ||
Rename Parameter command : TransactionalRemoteLockCommand to replicableCommand : TransactionalRemoteLockCommand in method private createReadyAction(topologyId int, replicableCommand TransactionalRemoteLockCommand) : ReadyAction in class org.infinispan.remoting.inboundhandler.NonTotalOrderTxPerCacheInboundInvocationHandler | From | To |