0bfeb93963490a700a64ef8d03499c253cd924e8
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 11
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Move And Inline Method | 1 | ||
Move And Inline Method public getMaxActiveSessions() : int moved from class org.wildfly.clustering.web.infinispan.session.InfinispanSessionManager to class org.wildfly.clustering.web.undertow.session.DistributableSessionManagerStatistics & inlined to public getMaxActiveSessions() : long | From | To | |
Change Parameter Type | 1 | ||
Change Parameter Type properties : CacheProperties to configuration : InfinispanSessionManagerFactoryConfiguration<C,L> in method private createSessionAttributesFactory(configuration InfinispanSessionManagerFactoryConfiguration<C,L>) : SessionAttributesFactory<?> in class org.wildfly.clustering.web.infinispan.session.InfinispanSessionManagerFactory | From | To | |
Move Method | 3 | ||
Move Method public dataRehashed(event DataRehashedEvent<SessionCreationMetaDataKey,?>) : void from class org.wildfly.clustering.web.infinispan.session.InfinispanSessionManager to public dataRehashed(event DataRehashedEvent<SessionCreationMetaDataKey,?>) : void from class org.wildfly.clustering.web.infinispan.session.InfinispanSessionManagerFactory | From | To | |
Move Method private createThreadFactory() : ThreadFactory from class org.wildfly.clustering.web.infinispan.session.InfinispanSessionManager to private createThreadFactory() : ThreadFactory from class org.wildfly.clustering.web.infinispan.session.InfinispanSessionManagerFactory | From | To | |
Move Method private schedule(oldLocality Locality, newLocality Locality) : void from class org.wildfly.clustering.web.infinispan.session.InfinispanSessionManager to private schedule(oldLocality Locality, newLocality Locality) : void from class org.wildfly.clustering.web.infinispan.session.InfinispanSessionManagerFactory | From | To | |
Move Attribute | 3 | ||
Move Attribute private scheduler : Scheduler from class org.wildfly.clustering.web.infinispan.session.InfinispanSessionManager to private scheduler : Scheduler from class org.wildfly.clustering.web.infinispan.session.InfinispanSessionManagerFactory | From | To | |
Move Attribute private executor : ExecutorService from class org.wildfly.clustering.web.infinispan.session.InfinispanSessionManager to private executor : ExecutorService from class org.wildfly.clustering.web.infinispan.session.InfinispanSessionManagerFactory | From | To | |
Move Attribute private rehashFuture : AtomicReference<Future<?>> from class org.wildfly.clustering.web.infinispan.session.InfinispanSessionManager to private rehashFuture : AtomicReference<Future<?>> from class org.wildfly.clustering.web.infinispan.session.InfinispanSessionManagerFactory | From | To | |
Rename Attribute | 1 | ||
Rename Attribute maxActiveSessions : int to expirationRegistrar : Registrar<SessionExpirationListener> in class org.wildfly.clustering.web.infinispan.session.InfinispanSessionManager | From | To | |
Change Variable Type | 2 | ||
Change Variable Type value : Value<SessionManagerFactory<L,TransactionBatch>> to value : Supplier<SessionManagerFactory<L,TransactionBatch>> in method public build(target ServiceTarget) : ServiceBuilder<SessionManagerFactory<L,TransactionBatch>> in class org.wildfly.clustering.web.infinispan.session.InfinispanSessionManagerFactoryBuilder | From | To | |
Change Variable Type subject : Remover<String> to subject : ExpiredSessionRemover<UUID,UUID,Object> in method public test() : void in class org.wildfly.clustering.web.infinispan.session.ExpiredSessionRemoverTestCase | From | To | |
Split Attribute | 1 | ||
Split Attribute config : InfinispanSessionManagerFactoryConfiguration<C,L> to [affinityFactory : KeyAffinityServiceFactory, cache : Cache<Key<String>,?>] in class org.wildfly.clustering.web.infinispan.session.InfinispanSessionManagerFactory | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type maxActiveSessions : int to expirationRegistrar : Registrar<SessionExpirationListener> in class org.wildfly.clustering.web.infinispan.session.InfinispanSessionManager | From | To | |
Extract And Move Method | 1 | ||
Extract And Move Method public close() : void extracted from public stop() : void in class org.wildfly.clustering.web.infinispan.session.InfinispanSessionManager & moved to class org.wildfly.clustering.web.infinispan.session.InfinispanSessionManagerFactory | From | To | |
Rename Parameter | 1 | ||
Rename Parameter properties : CacheProperties to configuration : InfinispanSessionManagerFactoryConfiguration<C,L> in method private createSessionAttributesFactory(configuration InfinispanSessionManagerFactoryConfiguration<C,L>) : SessionAttributesFactory<?> in class org.wildfly.clustering.web.infinispan.session.InfinispanSessionManagerFactory | From | To |