08630fcf01e13f651ed8bd2991b9d9fa493300a6
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 31
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method private wrapMvccEntryForRemove(ctx InvocationContext, key Object, cacheEntry CacheEntry, skipRead boolean) : MVCCEntry renamed to protected createWrappedEntry(key Object, cacheEntry CacheEntry, context InvocationContext, skipRead boolean) : MVCCEntry in class org.infinispan.container.EntryFactoryImpl | From | To | |
Inline Method | 2 | ||
Inline Method private wrapEntryForDelta(ctx InvocationContext, key Object, cacheEntry CacheEntry) : DeltaAwareCacheEntry inlined to public wrapEntryForDelta(ctx InvocationContext, deltaKey Object, delta Delta) : CacheEntry in class org.infinispan.container.EntryFactoryImpl | From | To | |
Inline Method private newDeltaAwareCacheEntry(ctx InvocationContext, key Object, deltaAware DeltaAware) : DeltaAwareCacheEntry inlined to public wrapEntryForDelta(ctx InvocationContext, deltaKey Object, delta Delta) : CacheEntry in class org.infinispan.container.EntryFactoryImpl | From | To | |
Rename Variable | 4 | ||
Rename Variable value : Object to previousValue : Object in method public perform(ctx InvocationContext) : Object in class org.infinispan.commands.write.PutMapCommand | From | To | |
Rename Variable me : MVCCEntry to contextEntry : MVCCEntry in method public perform(ctx InvocationContext) : Object in class org.infinispan.commands.write.PutMapCommand | From | To | |
Rename Variable localEntry : InternalCacheEntry to ice : InternalCacheEntry in method private localGet(ctx InvocationContext, key Object, isWrite boolean) : void in class org.infinispan.interceptors.distribution.TxDistributionInterceptor | From | To | |
Rename Variable cacheEntry : CacheEntry to contextEntry : CacheEntry in method public wrapEntryForWriting(ctx InvocationContext, key Object, wrap Wrap, skipRead boolean, ignoreOwnership boolean) : MVCCEntry in class org.infinispan.container.EntryFactoryImpl | From | To | |
Extract Variable | 5 | ||
Extract Variable versionedPrepareCommand : VersionedPrepareCommand in method public visitPrepareCommand(ctx TxInvocationContext, command PrepareCommand) : Object from class org.infinispan.interceptors.VersionedEntryWrappingInterceptor | From | To | |
Extract Variable newValue : Object in method public perform(ctx InvocationContext) : Object from class org.infinispan.commands.write.PutMapCommand | From | To | |
Extract Variable mvccEntry : MVCCEntry in method public wrapEntryForWriting(ctx InvocationContext, key Object, wrap Wrap, skipRead boolean, ignoreOwnership boolean) : MVCCEntry from class org.infinispan.container.EntryFactoryImpl | From | To | |
Extract Variable previousMetadata : Metadata in method public perform(ctx InvocationContext) : Object from class org.infinispan.commands.write.PutMapCommand | From | To | |
Extract Variable skipRead : boolean in method private wrapEntryForPutIfNeeded(ctx InvocationContext, command AbstractDataWriteCommand) : void from class org.infinispan.interceptors.EntryWrappingInterceptor | From | To | |
Inline Variable | 1 | ||
Inline Variable entryMetadata : Metadata in method protected createWrappedEntry(key Object, cacheEntry CacheEntry, context InvocationContext, providedMetadata Metadata, isForInsert boolean, forRemoval boolean, skipRead boolean) : MVCCEntry from class org.infinispan.container.IncrementalVersionableEntryFactoryImpl | From | To | |
Extract Method | 6 | ||
Extract Method public wrapEntryForWriting(ctx InvocationContext, key Object, wrap Wrap, skipRead boolean, ignoreOwnership boolean) : MVCCEntry extracted from public wrapEntryForPut(ctx InvocationContext, key Object, icEntry InternalCacheEntry, undeleteIfNeeded boolean, cmd FlagAffectedCommand, skipRead boolean) : MVCCEntry in class org.infinispan.container.EntryFactoryImpl | From | To | |
Extract Method private assertRepeatableReadEntry(cacheEntry CacheEntry) : MVCCEntry extracted from public wrapEntryForPut(ctx InvocationContext, key Object, icEntry InternalCacheEntry, undeleteIfNeeded boolean, cmd FlagAffectedCommand, skipRead boolean) : MVCCEntry in class org.infinispan.container.EntryFactoryImpl | From | To | |
Extract Method private localGet(ctx InvocationContext, key Object, isWrite boolean) : void extracted from protected remoteGetBeforeWrite(ctx InvocationContext, command WriteCommand, key Object) : void in class org.infinispan.interceptors.distribution.TxDistributionInterceptor | From | To | |
Extract Method private addReadVersion(key Object, cacheEntry CacheEntry, context InvocationContext, metadata Metadata) : void extracted from protected createWrappedEntry(key Object, cacheEntry CacheEntry, context InvocationContext, providedMetadata Metadata, isForInsert boolean, forRemoval boolean, skipRead boolean) : MVCCEntry in class org.infinispan.container.IncrementalVersionableEntryFactoryImpl | From | To | |
Extract Method public wrapEntryForWriting(ctx InvocationContext, key Object, wrap Wrap, skipRead boolean, ignoreOwnership boolean) : MVCCEntry extracted from public wrapEntryForRemove(ctx InvocationContext, key Object, skipRead boolean, forInvalidation boolean, forceWrap boolean) : MVCCEntry in class org.infinispan.container.EntryFactoryImpl | From | To | |
Extract Method public wrapEntryForWriting(ctx InvocationContext, key Object, wrap Wrap, skipRead boolean, ignoreOwnership boolean) : MVCCEntry extracted from public wrapEntryForReplace(ctx InvocationContext, cmd ReplaceCommand) : MVCCEntry in class org.infinispan.container.EntryFactoryImpl | From | To | |
Rename Parameter | 2 | ||
Rename Parameter ctx : InvocationContext to context : InvocationContext in method protected createWrappedEntry(key Object, cacheEntry CacheEntry, context InvocationContext, skipRead boolean) : MVCCEntry in class org.infinispan.container.EntryFactoryImpl | From | To | |
Rename Parameter forceFetch : boolean to ignoreOwnership : boolean in method private getFromContainer(key Object, ignoreOwnership boolean) : InternalCacheEntry in class org.infinispan.container.EntryFactoryImpl | From | To |