5ce70ff8305ba1a1432e09abf8484b12ba2a7409
Files Diff
- Added: 9
- Removed: 1
- Renamed: 0
- Modified: 86
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Move Method | 2 | ||
Move Method private loadAndCheckExpiration(persistenceManager PersistenceManager, key Object, context InvocationContext, includeStores boolean) : MarshalledEntry<K,V> from class org.infinispan.persistence.PersistenceUtil to private loadAndCheckExpiration(persistenceManager PersistenceManager, key Object, segment int, context InvocationContext, includeStores boolean) : MarshalledEntry<K,V> from class org.infinispan.persistence.internal.PersistenceUtil | From | To | |
Move Method private loadAndComputeInDataContainer(dataContainer DataContainer<K,V>, segment int, persistenceManager PersistenceManager, key K, ctx InvocationContext, timeService TimeService, action DataContainer.ComputeAction<K,V>, isLoaded AtomicReference<Boolean>) : InternalCacheEntry<K,V> from class org.infinispan.persistence.PersistenceUtil to private loadAndComputeInDataContainer(dataContainer DataContainer<K,V>, segment int, persistenceManager PersistenceManager, key K, ctx InvocationContext, timeService TimeService, action DataContainer.ComputeAction<K,V>, isLoaded AtomicReference<Boolean>) : InternalCacheEntry<K,V> from class org.infinispan.persistence.internal.PersistenceUtil | From | To | |
Change Return Type | 3 | ||
Change Return Type Configuration to ConfigurationBuilder in method public getTargetCacheConfig() : ConfigurationBuilder in class org.infinispan.tools.store.migrator.file.SoftIndexFileStoreReaderTest | From | To | |
Change Return Type Configuration to ConfigurationBuilder in method public getTargetCacheConfig() : ConfigurationBuilder in class org.infinispan.tools.store.migrator.file.SingleFileStoreReaderTest | From | To | |
Change Return Type Configuration to ConfigurationBuilder in method public getTargetCacheConfig() : ConfigurationBuilder in class org.infinispan.tools.store.migrator.rocksdb.RocksDBReaderTest | From | To | |
Extract Attribute | 1 | ||
Extract Attribute private publisherSemaphoreCallable : Callable<Semaphore> in class org.infinispan.persistence.manager.PersistenceManagerImpl | From | To | |
Move Class | 1 | ||
Move Class org.infinispan.container.DefaultSegmentedDataContainerTest moved to org.infinispan.container.impl.DefaultSegmentedDataContainerTest | From | To | |
Extract Superclass | 1 | ||
Extract Superclass org.infinispan.configuration.cache.AbstractSegmentedStoreConfiguration from classes [org.infinispan.configuration.cache.SingleFileStoreConfiguration, org.infinispan.persistence.dummy.DummyInMemoryStoreConfiguration, org.infinispan.persistence.rocksdb.configuration.RocksDBStoreConfiguration, org.infinispan.persistence.sifs.configuration.SoftIndexFileStoreConfiguration] | From | To | |
Change Variable Type | 2 | ||
Change Variable Type cs : DummyInMemoryStore to cs : AdvancedCacheLoader in method public testPreloadOnStart() : void in class org.infinispan.distribution.DistStorePreloadTest | From | To | |
Change Variable Type cs : DummyInMemoryStore to cs : AdvancedLoadWriteStore in method public clearStats() : void in class org.infinispan.distribution.DistStorePreloadTest | From | To | |
Extract Variable | 2 | ||
Extract Variable hashConfiguration : HashConfiguration in method private getConfiguredPartitioner() : KeyPartitioner from class org.infinispan.distribution.ch.impl.KeyPartitionerFactory | From | To | |
Extract Variable key : String in method public testProcessAfterStop() : void from class org.infinispan.persistence.PersistenceManagerTest | From | To | |
Extract Method | 5 | ||
Extract Method package newPreloadConfiguration(configuration Configuration, storeName String) : ConfigurationBuilder extracted from public testPreloading() : void in class org.infinispan.persistence.CacheLoaderFunctionalTest | From | To | |
Extract Method package newPreloadConfiguration(configuration Configuration, storeName String) : ConfigurationBuilder extracted from public testPreloadingWithEviction() : void in class org.infinispan.persistence.CacheLoaderFunctionalTest | From | To | |
Extract Method package newPreloadConfiguration(configuration Configuration, storeName String) : ConfigurationBuilder extracted from public testPreloadingWithoutAutoCommit() : void in class org.infinispan.persistence.CacheLoaderFunctionalTest | From | To | |
Extract Method package newPreloadConfiguration(configuration Configuration, storeName String) : ConfigurationBuilder extracted from public testPreloadingWithEvictionAndOneMaxEntry() : void in class org.infinispan.persistence.CacheLoaderFunctionalTest | From | To | |
Extract Method private getConfiguredPartitioner() : KeyPartitioner extracted from public construct(componentType Class<T>) : T in class org.infinispan.distribution.ch.impl.KeyPartitionerFactory | From | To | |
Rename Parameter | 1 | ||
Rename Parameter localContext : boolean to localInvocation : boolean in method public loadFromAllStores(key Object, localInvocation boolean, includeStores boolean) : MarshalledEntry in class org.infinispan.persistence.manager.PersistenceManagerStub | From | To |