1ac44aae286601951ddba5a809dd2b227962bb23
Files Diff
- Added: 2
- Removed: 0
- Renamed: 0
- Modified: 7
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method public loadHeaderAndKey(fileProvider FileProvider, timeService TimeService) : EntryRecord renamed to private getHeaderAndKey(fileProvider FileProvider, handle FileProvider.Handle) : EntryRecord in class org.infinispan.persistence.sifs.IndexNode.LeafNode | From | To | |
Change Parameter Type | 1 | ||
Change Parameter Type timeService : TimeService to handle : FileProvider.Handle in method private getHeaderAndKey(fileProvider FileProvider, handle FileProvider.Handle) : EntryRecord in class org.infinispan.persistence.sifs.IndexNode.LeafNode | From | To | |
Inline Method | 1 | ||
Inline Method private getHeaderAndKey(fileProvider FileProvider, handle FileProvider.Handle, timeService TimeService) : EntryRecord inlined to private getHeaderAndKey(fileProvider FileProvider, handle FileProvider.Handle) : EntryRecord in class org.infinispan.persistence.sifs.IndexNode.LeafNode | From | To | |
Rename Variable | 1 | ||
Rename Variable position : EntryPosition to info : EntryInfo in method public run() : void in class org.infinispan.persistence.sifs.Compactor | From | To | |
Extract Superclass | 1 | ||
Extract Superclass org.infinispan.persistence.sifs.EntryInfo from classes [org.infinispan.persistence.sifs.IndexNode.LeafNode] | From | To | |
Change Variable Type | 1 | ||
Change Variable Type position : EntryPosition to info : EntryInfo in method public run() : void in class org.infinispan.persistence.sifs.Compactor | From | To | |
Extract Variable | 5 | ||
Extract Variable entryOffset : int in method protected getSeqId(entry EntryPosition) : long from class org.infinispan.persistence.sifs.SoftIndexFileStore | From | To | |
Extract Variable readOffset : int in method private getHeaderAndKey(fileProvider FileProvider, handle FileProvider.Handle) : EntryRecord from class org.infinispan.persistence.sifs.IndexNode.LeafNode | From | To | |
Extract Variable writtenLength : int in method public run() : void from class org.infinispan.persistence.sifs.Compactor | From | To | |
Extract Variable seqId : long in method public run() : void from class org.infinispan.persistence.sifs.LogAppender | From | To | |
Extract Variable readOffset : int in method public loadRecord(fileProvider FileProvider, key byte[], timeService TimeService) : EntryRecord from class org.infinispan.persistence.sifs.IndexNode.LeafNode | From | To | |
Extract Method | 2 | ||
Extract Method protected getSeqId(entry EntryPosition) : long extracted from public process(filter KeyFilter, task CacheLoaderTask, executor Executor, fetchValue boolean, fetchMetadata boolean) : void in class org.infinispan.persistence.sifs.SoftIndexFileStore | From | To | |
Extract Method protected getSeqId(entry EntryPosition) : long extracted from public start() : void in class org.infinispan.persistence.sifs.SoftIndexFileStore | From | To | |
Extract And Move Method | 2 | ||
Extract And Move Method public update(key Object, serializedKey byte[], file int, offset int, size int) : IndexRequest extracted from public start() : void in class org.infinispan.persistence.sifs.SoftIndexFileStore & moved to class org.infinispan.persistence.sifs.IndexRequest | From | To | |
Extract And Move Method public update(key Object, serializedKey byte[], file int, offset int, size int) : IndexRequest extracted from public run() : void in class org.infinispan.persistence.sifs.LogAppender & moved to class org.infinispan.persistence.sifs.IndexRequest | From | To | |
Rename Parameter | 1 | ||
Rename Parameter timeService : TimeService to handle : FileProvider.Handle in method private getHeaderAndKey(fileProvider FileProvider, handle FileProvider.Handle) : EntryRecord in class org.infinispan.persistence.sifs.IndexNode.LeafNode | From | To |