f6641590f03400610b902648d43892bec086c0e4
Files Diff
- Added: 1
- Removed: 10
- Renamed: 0
- Modified: 24
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Change Parameter Type | 1 | ||
| Change Parameter Type command : GetAllCommand to command : C in method private ClusteredGetAllHandler(target Address, allFuture ClusteredGetAllFuture, ctx InvocationContext, command C, keys List<?>, contactedNodes Map<Object,Collection<Address>>, remoteGetAllHandler RemoteGetAllHandler) in class org.infinispan.interceptors.distribution.BaseDistributionInterceptor.ClusteredGetAllHandler | From | To | |
| Move Method | 1 | ||
| Move Method public apply(rCtx InvocationContext, rCommand VisitableCommand, rv Object) : Object from class org.infinispan.interceptors.impl.ClusteringInterceptor.ClusteredGetAllFuture to public apply(rCtx InvocationContext, rCommand VisitableCommand, rv Object) : Object from class org.infinispan.interceptors.distribution.BaseDistributionInterceptor.GetAllSuccessHandler | From | To | |
| Inline Method | 1 | ||
| Inline Method protected handleMultipleKeysWriteCommand(ctx InvocationContext, command WriteCommand) : Object inlined to public visitClearCommand(ctx InvocationContext, command ClearCommand) : Object in class org.infinispan.interceptors.xsite.BaseBackupInterceptor | From | To | |
| Change Return Type | 7 | ||
| Change Return Type Metadata.Builder to Builder in method public lifespan(time long) : Builder in class org.infinispan.functional.impl.MetaParamsInternalMetadata.Builder | From | To | |
| Change Return Type Metadata.Builder to Builder in method public maxIdle(time long) : Builder in class org.infinispan.functional.impl.MetaParamsInternalMetadata.Builder | From | To | |
| Change Return Type Metadata to MetaParamsInternalMetadata in method public build() : MetaParamsInternalMetadata in class org.infinispan.functional.impl.MetaParamsInternalMetadata.Builder | From | To | |
| Change Return Type Metadata.Builder to Builder in method public maxIdle(time long, unit TimeUnit) : Builder in class org.infinispan.functional.impl.MetaParamsInternalMetadata.Builder | From | To | |
| Change Return Type Metadata.Builder to Builder in method public version(version EntryVersion) : Builder in class org.infinispan.functional.impl.MetaParamsInternalMetadata.Builder | From | To | |
| Change Return Type Metadata.Builder to Builder in method public lifespan(time long, unit TimeUnit) : Builder in class org.infinispan.functional.impl.MetaParamsInternalMetadata.Builder | From | To | |
| Change Return Type Metadata.Builder to Builder in method public merge(metadata Metadata) : Builder in class org.infinispan.functional.impl.MetaParamsInternalMetadata.Builder | From | To | |
| Move Attribute | 3 | ||
| Move Attribute public localCommand : GetAllCommand from class org.infinispan.interceptors.impl.ClusteringInterceptor.ClusteredGetAllFuture to private localCommand : GetAllCommand from class org.infinispan.interceptors.distribution.BaseDistributionInterceptor.GetAllSuccessHandler | From | To | |
| Move Attribute public lostData : boolean from class org.infinispan.interceptors.impl.ClusteringInterceptor.ClusteredGetAllFuture to private lostData : boolean from class org.infinispan.interceptors.distribution.BaseDistributionInterceptor.GetAllSuccessHandler | From | To | |
| Move Attribute public hasUnsureResponse : boolean from class org.infinispan.interceptors.impl.ClusteringInterceptor.ClusteredGetAllFuture to private hasUnsureResponse : boolean from class org.infinispan.interceptors.distribution.BaseDistributionInterceptor.GetAllSuccessHandler | From | To | |
| Extract Class | 1 | ||
| Extract Class org.infinispan.interceptors.distribution.BaseDistributionInterceptor.GetAllSuccessHandler from class org.infinispan.interceptors.impl.ClusteringInterceptor.ClusteredGetAllFuture | From | To | |
| Rename Attribute | 1 | ||
| Rename Attribute replaceFailed : boolean to writeOnlyManyEntriesFailed : boolean in class org.infinispan.xsite.backupfailure.BaseBackupFailureTest.FailureInterceptor | From | To | |
| Extract Variable | 1 | ||
| Extract Variable transaction : Transaction in method protected processBackupResponse(ctx TxInvocationContext, command VisitableCommand, backupResponse BackupResponse) : Object from class org.infinispan.interceptors.xsite.BaseBackupInterceptor | From | To | |
| Extract Method | 6 | ||
| Extract Method private handle(ctx InvocationContext, command VisitableCommand, logFailure Runnable) : Object extracted from public visitPrepareCommand(ctx TxInvocationContext, command PrepareCommand) : Object in class org.infinispan.xsite.backupfailure.BaseBackupFailureTest.FailureInterceptor | From | To | |
| Extract Method private handle(ctx InvocationContext, command VisitableCommand, logFailure Runnable) : Object extracted from public visitRemoveCommand(ctx InvocationContext, command RemoveCommand) : Object in class org.infinispan.xsite.backupfailure.BaseBackupFailureTest.FailureInterceptor | From | To | |
| Extract Method private handle(ctx InvocationContext, command VisitableCommand, logFailure Runnable) : Object extracted from public visitPutKeyValueCommand(ctx InvocationContext, command PutKeyValueCommand) : Object in class org.infinispan.xsite.backupfailure.BaseBackupFailureTest.FailureInterceptor | From | To | |
| Extract Method private handle(ctx InvocationContext, command VisitableCommand, logFailure Runnable) : Object extracted from public visitRollbackCommand(ctx TxInvocationContext, command RollbackCommand) : Object in class org.infinispan.xsite.backupfailure.BaseBackupFailureTest.FailureInterceptor | From | To | |
| Extract Method private handle(ctx InvocationContext, command VisitableCommand, logFailure Runnable) : Object extracted from public visitCommitCommand(ctx TxInvocationContext, command CommitCommand) : Object in class org.infinispan.xsite.backupfailure.BaseBackupFailureTest.FailureInterceptor | From | To | |
| Extract Method private handle(ctx InvocationContext, command VisitableCommand, logFailure Runnable) : Object extracted from public visitClearCommand(ctx InvocationContext, command ClearCommand) : Object in class org.infinispan.xsite.backupfailure.BaseBackupFailureTest.FailureInterceptor | From | To | |
| Change Attribute Type | 1 | ||
| Change Attribute Type command : GetAllCommand to command : C in class org.infinispan.interceptors.distribution.BaseDistributionInterceptor.ClusteredGetAllHandler | From | To |