8cfcf3a0c2ca30a7e7e3815d299253ef8c652756
Files Diff
- Added: 5
- Removed: 1
- Renamed: 0
- Modified: 19
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method public testSynchronizationViaIterator() : void renamed to public testSynchronization() : void in class org.infinispan.persistence.remote.upgrade.HotRodUpgradeSynchronizerTest | From | To | |
Move Method | 1 | ||
Move Method package migrateEntriesWithMetadata(sourceCache RemoteCache<Object,Object>, destCache Cache<Object,Object>, executorService ExecutorService, ignoreKey byte[], counter AtomicInteger, segments Set<Integer>, readBatch int) : void from class org.infinispan.persistence.remote.upgrade.HotRodMigratorHelper to private migrateEntriesWithMetadata(sourceCache RemoteCache<Object,Object>, counter AtomicInteger) : void from class org.infinispan.persistence.remote.upgrade.MigrationTask | From | To | |
Rename Variable | 6 | ||
Rename Variable servers : List<Address> to targetServers : List<Address> in method public synchronizeData(cache Cache<Object,Object>, readBatch int, threads int) : long in class org.infinispan.persistence.remote.upgrade.HotRodTargetMigrator | From | To | |
Rename Variable cacheTopologyInfo : CacheTopologyInfo to sourceCacheTopologyInfo : CacheTopologyInfo in method public synchronizeData(cache Cache<Object,Object>, readBatch int, threads int) : long in class org.infinispan.persistence.remote.upgrade.HotRodTargetMigrator | From | To | |
Rename Variable targetUpgradeManager : RollingUpgradeManager to upgradeManager : RollingUpgradeManager in method public testSynchronization() : void in class org.infinispan.persistence.remote.upgrade.HotRodUpgradeSynchronizerTest | From | To | |
Rename Variable count : long to migrated : long in method public testSynchronization() : void in class org.infinispan.persistence.remote.upgrade.HotRodUpgradeWithStoreTest | From | To | |
Rename Variable storeCache : RemoteCache<Object,Object> to remoteSourceCache : RemoteCache<Object,Object> in method public synchronizeData(cache Cache<Object,Object>, readBatch int, threads int) : long in class org.infinispan.persistence.remote.upgrade.HotRodTargetMigrator | From | To | |
Rename Variable numSegments : int to sourceSegments : int in method public synchronizeData(cache Cache<Object,Object>, readBatch int, threads int) : long in class org.infinispan.persistence.remote.upgrade.HotRodTargetMigrator | From | To | |
Change Return Type | 1 | ||
Change Return Type Cache<String,String> to Cache<Object,Object> in method package getEmbeddedCache(name String) : Cache<Object,Object> in class org.infinispan.persistence.remote.upgrade.TestCluster | From | To | |
Rename Class | 1 | ||
Rename Class org.infinispan.persistence.remote.upgrade.HotRodMultiServerUpdateSynchronizerTest renamed to org.infinispan.persistence.remote.upgrade.HotRodUpgradeStressTest | From | To | |
Rename Attribute | 1 | ||
Rename Attribute NUM_ENTRIES : int to INITIAL_NUM_ENTRIES : int in class org.infinispan.persistence.remote.upgrade.HotRodUpgradeWithStoreTest | From | To | |
Extract Variable | 2 | ||
Extract Variable targetRemoteCache : RemoteCache<String,String> in method public testSynchronization() : void from class org.infinispan.persistence.remote.upgrade.HotRodUpgradeSynchronizerTest | From | To | |
Extract Variable sourceRemoteCache : RemoteCache<String,String> in method public testSynchronization() : void from class org.infinispan.persistence.remote.upgrade.HotRodUpgradeSynchronizerTest | From | To | |
Extract Method | 3 | ||
Extract Method private getDummyStore(testCluster TestCluster) : DummyInMemoryStore extracted from private storeSize(testCluster TestCluster) : int in class org.infinispan.persistence.remote.upgrade.HotRodUpgradeWithStoreTest | From | To | |
Extract Method private fillCluster(cluster TestCluster, cacheName String) : void extracted from public testSynchronizationViaKeyRecording() : void in class org.infinispan.persistence.remote.upgrade.HotRodUpgradeSynchronizerTest | From | To | |
Extract Method public writeToAllNonTxStores(marshalledEntry MarshalledEntry, accessMode AccessMode, flags long) : void extracted from public writeToAllNonTxStores(marshalledEntry MarshalledEntry, accessMode AccessMode) : void in class org.infinispan.persistence.manager.PersistenceManagerImpl | From | To | |
Rename Parameter | 1 | ||
Rename Parameter testCluster : TestCluster to cluster : TestCluster in method private storeSize(cluster TestCluster) : int in class org.infinispan.persistence.remote.upgrade.HotRodUpgradeWithStoreTest | From | To |