2848dfab0198473d4a50a34ce4ec5f88288bbfb0
Files Diff
- Added: 65
- Removed: 0
- Renamed: 0
- Modified: 40
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method private checkAndStoreConfiguredCounterConfiguration(counterName String) : CounterConfiguration renamed to private checkAndStoreConfiguredCounterConfigurationAsync(name String) : CompletableFuture<CounterConfiguration> in class org.infinispan.counter.impl.manager.CacheHolder | From | To | |
Change Parameter Type | 3 | ||
Change Parameter Type listener : AddClientListenerOperation to reconnectionRunnable : Runnable in method public addDisconnectedListener(reconnectionRunnable Runnable) : void in class org.infinispan.client.hotrod.impl.transport.TransportFactory | From | To | |
Change Parameter Type cfg : Configuration to compatibilityEnabled : boolean in method private writeStatus(r Response, buf ByteBuf, server HotRodServer, compatibilityEnabled boolean) : void in class org.infinispan.server.hotrod.Encoder2x | From | To | |
Change Parameter Type listener : AddClientListenerOperation to reconnectionRunnable : Runnable in method public addDisconnectedListener(reconnectionRunnable Runnable) : void in class org.infinispan.client.hotrod.impl.transport.tcp.TcpTransportFactory | From | To | |
Inline Method | 1 | ||
Inline Method private updateCounterState(index int, newValue long) : long inlined to public generate(key CounterKey, value CounterValue) : CounterEvent in class org.infinispan.counter.impl.weak.WeakCounterImpl | From | To | |
Rename Variable | 1 | ||
Rename Variable initialValue : long to flags : byte in method public readObject(input ObjectInput) : CounterConfiguration in class org.infinispan.counter.api.CounterConfiguration.Externalize | From | To | |
Change Return Type | 5 | ||
Change Return Type CounterConfiguration to CompletableFuture<CounterConfiguration> in method private checkAndStoreConfiguredCounterConfigurationAsync(name String) : CompletableFuture<CounterConfiguration> in class org.infinispan.counter.impl.manager.CacheHolder | From | To | |
Change Return Type long to Long in method private getCachedValue0(index int, value long, skipIndex int) : Long in class org.infinispan.counter.impl.weak.WeakCounterImpl | From | To | |
Change Return Type long to Long in method private getCachedValue(skipIndex int) : Long in class org.infinispan.counter.impl.weak.WeakCounterImpl | From | To | |
Change Return Type long to Long in method private update(value long) : Long in class org.infinispan.counter.impl.weak.WeakCounterImpl.Entry | From | To | |
Change Return Type long to Long in method private getCachedValue() : Long in class org.infinispan.counter.impl.weak.WeakCounterImpl | From | To | |
Extract Variable | 3 | ||
Extract Variable toAdd : Long in method private getCachedValue() : Long from class org.infinispan.counter.impl.weak.WeakCounterImpl | From | To | |
Extract Variable toAdd : Long in method private getCachedValue0(index int, value long, skipIndex int) : Long from class org.infinispan.counter.impl.weak.WeakCounterImpl | From | To | |
Extract Variable toAdd : Long in method private getCachedValue(skipIndex int) : Long from class org.infinispan.counter.impl.weak.WeakCounterImpl | From | To | |
Change Variable Type | 3 | ||
Change Variable Type initialValue : long to flags : byte in method public readObject(input ObjectInput) : CounterConfiguration in class org.infinispan.counter.api.CounterConfiguration.Externalize | From | To | |
Change Variable Type drained : List<AddClientListenerOperation> to drained : List<Runnable> in method private reconnectListenersIfNeeded() : void in class org.infinispan.client.hotrod.impl.transport.tcp.TcpTransportFactory | From | To | |
Change Variable Type base : long to base : Long in method public generate(key CounterKey, value CounterValue) : CounterEvent in class org.infinispan.counter.impl.weak.WeakCounterImpl | From | To | |
Extract Method | 4 | ||
Extract Method private writeHeaderNoTopology(buffer ByteBuf, messageId long, operation HotRodOperation) : void extracted from public writeEvent(e Events.Event, buf ByteBuf) : void in class org.infinispan.server.hotrod.Encoder2x | From | To | |
Extract Method public getConfigurationAsync(name String) : CompletableFuture<CounterConfiguration> extracted from public getConfiguration(counterName String) : CounterConfiguration in class org.infinispan.counter.impl.manager.EmbeddedCounterManager | From | To | |
Extract Method private defaultValueOfIndex(index int) : long extracted from private initEntry(index int, value Long) : void in class org.infinispan.counter.impl.weak.WeakCounterImpl | From | To | |
Extract Method public defineCounterAsync(name String, configuration CounterConfiguration) : CompletableFuture<Boolean> extracted from public defineCounter(name String, configuration CounterConfiguration) : boolean in class org.infinispan.counter.impl.manager.EmbeddedCounterManager | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type disconnectedListeners : BlockingQueue<AddClientListenerOperation> to disconnectedListeners : BlockingQueue<Runnable> in class org.infinispan.client.hotrod.impl.transport.tcp.TcpTransportFactory | From | To | |
Rename Parameter | 5 | ||
Rename Parameter buf : ByteBuf to buffer : ByteBuf in method private writeHeaderNoTopology(buffer ByteBuf, messageId long, operation HotRodOperation) : void in class org.infinispan.server.hotrod.Encoder2x | From | To | |
Rename Parameter listener : AddClientListenerOperation to reconnectionRunnable : Runnable in method public addDisconnectedListener(reconnectionRunnable Runnable) : void in class org.infinispan.client.hotrod.impl.transport.TransportFactory | From | To | |
Rename Parameter cfg : Configuration to compatibilityEnabled : boolean in method private writeStatus(r Response, buf ByteBuf, server HotRodServer, compatibilityEnabled boolean) : void in class org.infinispan.server.hotrod.Encoder2x | From | To | |
Rename Parameter listener : AddClientListenerOperation to reconnectionRunnable : Runnable in method public addDisconnectedListener(reconnectionRunnable Runnable) : void in class org.infinispan.client.hotrod.impl.transport.tcp.TcpTransportFactory | From | To | |
Rename Parameter counterName : String to name : String in method private checkAndStoreConfiguredCounterConfigurationAsync(name String) : CompletableFuture<CounterConfiguration> in class org.infinispan.counter.impl.manager.CacheHolder | From | To |