30b81175adb521aaf96a082d92daa931b06d4365
Files Diff
- Added: 0
- Removed: 2
- Renamed: 0
- Modified: 48
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Pull Up Method | 1 | ||
Pull Up Method private wrapInternalCacheEntry(ice InternalCacheEntry, ctx InvocationContext, key Object, isWrite boolean, command FlagAffectedCommand) : void from class org.infinispan.interceptors.distribution.NonTxDistributionInterceptor to protected wrapInternalCacheEntry(ice InternalCacheEntry, ctx InvocationContext, key Object, isWrite boolean, command FlagAffectedCommand) : void from class org.infinispan.interceptors.distribution.BaseDistributionInterceptor | From | To | |
Push Down Method | 3 | ||
Push Down Method public configure() : void from class org.infinispan.interceptors.ClusteringInterceptor to public configure() : void from class org.infinispan.interceptors.distribution.BaseDistributionInterceptor | From | To | |
Push Down Method protected fetchValueLocallyIfAvailable(consistentHash ConsistentHash, key Object) : InternalCacheEntry from class org.infinispan.interceptors.ClusteringInterceptor to protected fetchValueLocallyIfAvailable(consistentHash ConsistentHash, key Object) : InternalCacheEntry from class org.infinispan.interceptors.distribution.BaseDistributionInterceptor | From | To | |
Push Down Method protected needsRemoteGet(ctx InvocationContext, command AbstractDataCommand) : boolean from class org.infinispan.interceptors.ClusteringInterceptor to protected readNeedsRemoteValue(ctx InvocationContext, command AbstractDataCommand) : boolean from class org.infinispan.interceptors.distribution.BaseDistributionInterceptor | From | To | |
Move And Rename Method | 2 | ||
Move And Rename Method protected isDeltaWrite(cmd WriteCommand) : boolean from class org.infinispan.interceptors.CacheLoaderInterceptor to public alwaysReadsExistingValues() : boolean from class org.infinispan.commands.write.PutKeyValueCommand | From | To | |
Move And Rename Method private localGetCacheEntry(ctx InvocationContext, key Object, isWrite boolean, command FlagAffectedCommand) : InternalCacheEntry from class org.infinispan.interceptors.distribution.NonTxDistributionInterceptor to private localGet(ctx InvocationContext, key Object, isWrite boolean, command FlagAffectedCommand) : void from class org.infinispan.interceptors.distribution.TxDistributionInterceptor | From | To | |
Rename Variable | 1 | ||
Rename Variable ice : InternalCacheEntry to localEntry : InternalCacheEntry in method protected remoteGetBeforeWrite(ctx InvocationContext, command WriteCommand, key Object) : void in class org.infinispan.interceptors.distribution.TxDistributionInterceptor | From | To | |
Inline Method | 3 | ||
Inline Method private skipLoadForNonTxCommand(cmd WriteCommand, key Object) : boolean inlined to protected skipLoadForWriteCommand(cmd WriteCommand, key Object, ctx InvocationContext) : boolean in class org.infinispan.interceptors.ClusteredActivationInterceptor | From | To | |
Inline Method private localGet(ctx InvocationContext, key Object, isWrite boolean, command FlagAffectedCommand, isGetCacheEntry boolean) : Object inlined to protected remoteGetBeforeWrite(ctx InvocationContext, command WriteCommand, key Object) : void in class org.infinispan.interceptors.distribution.TxDistributionInterceptor | From | To | |
Inline Method private skipLoadForNonTxCommand(cmd WriteCommand, key Object) : boolean inlined to protected skipLoadForWriteCommand(cmd WriteCommand, key Object, ctx InvocationContext) : boolean in class org.infinispan.interceptors.ClusteredCacheLoaderInterceptor | From | To | |
Change Return Type | 1 | ||
Change Return Type InternalCacheEntry to void in method private localGet(ctx InvocationContext, key Object, isWrite boolean, command FlagAffectedCommand) : void in class org.infinispan.interceptors.distribution.TxDistributionInterceptor | From | To | |
Push Down Attribute | 1 | ||
Push Down Attribute protected isL1Enabled : boolean from class org.infinispan.interceptors.ClusteringInterceptor to protected isL1Enabled : boolean from class org.infinispan.interceptors.distribution.BaseDistributionInterceptor | From | To | |
Extract Method | 1 | ||
Extract Method private loadInContext(ctx InvocationContext, key Object, cmd FlagAffectedCommand) : Boolean extracted from protected loadIfNeeded(ctx InvocationContext, key Object, cmd FlagAffectedCommand) : Boolean in class org.infinispan.interceptors.CacheLoaderInterceptor | From | To |