ff206b9ca990920a897145c1e82c7f8d8f4b275c
Files Diff
- Added: 4
- Removed: 1
- Renamed: 0
- Modified: 11
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 5 | ||
Rename Method public destroyed(connection BoltConnection) : void renamed to public closed(connection BoltConnection) : void in class org.neo4j.bolt.runtime.BoltConnectionLifetimeListener | From | To | |
Rename Method public processingDone(processingTime long) : void renamed to public messageProcessingCompleted(processingTime long) : void in class org.neo4j.metrics.source.db.BoltMetrics.BoltMetricsMonitor | From | To | |
Rename Method public destroyed(connection BoltConnection) : void renamed to public closed(connection BoltConnection) : void in class org.neo4j.bolt.runtime.ExecutorBoltScheduler | From | To | |
Rename Method public processingStarted(queueTime long) : void renamed to public messageProcessingStarted(queueTime long) : void in class org.neo4j.metrics.source.db.BoltMetrics.BoltMetricsMonitor | From | To | |
Rename Method public sessionStarted() : void renamed to public messageProcessingFailed() : void in class org.neo4j.metrics.source.db.BoltMetrics.BoltMetricsMonitor | From | To | |
Change Parameter Type | 2 | ||
Change Parameter Type listener : BoltConnectionListener to listener : BoltConnectionLifetimeListener in method public DefaultBoltConnection(channel BoltChannel, machine BoltStateMachine, logService LogService, listener BoltConnectionLifetimeListener, queueMonitor BoltConnectionQueueMonitor) in class org.neo4j.bolt.runtime.DefaultBoltConnection | From | To | |
Change Parameter Type listener : BoltConnectionListener to listener : BoltConnectionLifetimeListener in method public DefaultBoltConnection(channel BoltChannel, machine BoltStateMachine, logService LogService, listener BoltConnectionLifetimeListener, queueMonitor BoltConnectionQueueMonitor, maxBatchSize int) in class org.neo4j.bolt.runtime.DefaultBoltConnection | From | To | |
Change Return Type | 3 | ||
Change Return Type void to boolean in method public processNextBatch() : boolean in class org.neo4j.bolt.runtime.BoltConnection | From | To | |
Change Return Type Object to boolean in method private awaitExit(exitCondition AtomicBoolean) : boolean in class org.neo4j.bolt.runtime.ExecutorBoltSchedulerTest | From | To | |
Change Return Type void to boolean in method public processNextBatch() : boolean in class org.neo4j.bolt.runtime.DefaultBoltConnection | From | To | |
Rename Class | 1 | ||
Rename Class org.neo4j.bolt.runtime.BoltConnectionListener renamed to org.neo4j.bolt.runtime.BoltConnectionLifetimeListener | From | To | |
Rename Attribute | 2 | ||
Rename Attribute sessionsStarted : AtomicLong to messagesFailed : AtomicLong in class org.neo4j.metrics.source.db.BoltMetrics.BoltMetricsMonitor | From | To | |
Rename Attribute sessionsStarted : AtomicLong to connectionsOpened : AtomicLong in class org.neo4j.metrics.source.db.BoltMetrics.BoltMetricsMonitor | From | To | |
Change Variable Type | 1 | ||
Change Variable Type previousFuture : CompletableFuture<Void> to previousFuture : CompletableFuture<Boolean> in method private handleCompletion(connection BoltConnection, shouldContinueScheduling Object, error Throwable) : void in class org.neo4j.bolt.runtime.ExecutorBoltScheduler | From | To | |
Extract Interface | 1 | ||
Extract Interface org.neo4j.bolt.runtime.BoltConnectionMetricsMonitor from classes [org.neo4j.metrics.source.db.BoltMetrics.BoltMetricsMonitor] | From | To | |
Change Attribute Type | 3 | ||
Change Attribute Type listener : BoltConnectionListener to listener : BoltConnectionLifetimeListener in class org.neo4j.bolt.runtime.DefaultBoltConnection | From | To | |
Change Attribute Type activeWorkItems : ConcurrentHashMap<String,CompletableFuture<Void>> to activeWorkItems : ConcurrentHashMap<String,CompletableFuture<Boolean>> in class org.neo4j.bolt.runtime.ExecutorBoltScheduler | From | To | |
Change Attribute Type connectionListener : BoltConnectionListener to connectionListener : BoltConnectionLifetimeListener in class org.neo4j.bolt.runtime.DefaultBoltConnectionTest | From | To | |
Rename Parameter | 1 | ||
Rename Parameter result : Object to shouldContinueScheduling : Object in method private handleCompletion(connection BoltConnection, shouldContinueScheduling Object, error Throwable) : void in class org.neo4j.bolt.runtime.ExecutorBoltScheduler | From | To |