06331cc5893364d78334c6f3208c9af8f9a2ed12
Files Diff
- Added: 2
- Removed: 0
- Renamed: 0
- Modified: 12
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Merge Attribute | 1 | ||
Merge Attribute [dataSourceManager : DataSourceManager, transactionCounters : TransactionCounters, pageCacheCounters : PageCacheMonitor, checkPointerMonitor : CheckPointerMonitor, logRotationMonitor : LogRotationMonitor, idGeneratorFactory : IdGeneratorFactory, monitors : Monitors] to deps : Dependencies in class org.neo4j.metrics.source.Neo4jMetricsBuilder | From | To | |
Rename Variable | 5 | ||
Rename Variable committedTransactions : int to currentValue : int in method private readMonotonicIncreasingLongValue(metricFile File) : long in class org.neo4j.metrics.MetricsKernelExtensionFactoryIT | From | To | |
Rename Variable newReplanEvents : int to newValue : int in method private readMonotonicIncreasingLongValue(metricFile File) : long in class org.neo4j.metrics.MetricsKernelExtensionFactoryIT | From | To | |
Rename Variable replanEvents : int to events : long in method public showReplanEvents() : void in class org.neo4j.metrics.MetricsKernelExtensionFactoryIT | From | To | |
Rename Variable replanEvents : int to currentValue : int in method private readMonotonicIncreasingLongValue(metricFile File) : long in class org.neo4j.metrics.MetricsKernelExtensionFactoryIT | From | To | |
Rename Variable newCommittedTransactions : int to newValue : int in method private readMonotonicIncreasingLongValue(metricFile File) : long in class org.neo4j.metrics.MetricsKernelExtensionFactoryIT | From | To | |
Change Return Type | 1 | ||
Change Return Type boolean to EventReporter in method public build() : EventReporter in class org.neo4j.metrics.output.OutputBuilder | From | To | |
Move Attribute | 4 | ||
Move Attribute private monitors : Monitors from class org.neo4j.metrics.MetricsExtension to private monitors : Monitors from class org.neo4j.metrics.source.db.LogRotationMetrics | From | To | |
Move Attribute private monitors : Monitors from class org.neo4j.metrics.source.Neo4jMetricsBuilder to private monitors : Monitors from class org.neo4j.metrics.source.db.LogRotationMetrics | From | To | |
Move Attribute private monitors : Monitors from class org.neo4j.metrics.MetricsExtension to private monitors : Monitors from class org.neo4j.metrics.source.db.CheckPointingMetrics | From | To | |
Move Attribute private monitors : Monitors from class org.neo4j.metrics.source.Neo4jMetricsBuilder to private monitors : Monitors from class org.neo4j.metrics.source.db.CheckPointingMetrics | From | To | |
Parameterize Variable | 1 | ||
Parameterize Variable metricsFile : File to metricFile : File in method private readMonotonicIncreasingLongValue(metricFile File) : long in class org.neo4j.metrics.MetricsKernelExtensionFactoryIT | From | To | |
Rename Attribute | 1 | ||
Rename Attribute dependencyResolver : DependencyResolver to dependencies : MetricsKernelExtensionFactory.Dependencies in class org.neo4j.metrics.MetricsExtension | From | To | |
Change Variable Type | 1 | ||
Change Variable Type replanEvents : int to events : long in method public showReplanEvents() : void in class org.neo4j.metrics.MetricsKernelExtensionFactoryIT | From | To | |
Extract Variable | 3 | ||
Extract Variable gangliaOutput : GangliaOutput in method public build() : EventReporter from class org.neo4j.metrics.output.OutputBuilder | From | To | |
Extract Variable csvOutput : CsvOutput in method public build() : EventReporter from class org.neo4j.metrics.output.OutputBuilder | From | To | |
Extract Variable graphiteOutput : GraphiteOutput in method public build() : EventReporter from class org.neo4j.metrics.output.OutputBuilder | From | To | |
Extract Method | 2 | ||
Extract Method private readMonotonicIncreasingLongValue(metricFile File) : long extracted from public mustLoadMetricsExtensionWhenConfigured() : void in class org.neo4j.metrics.MetricsKernelExtensionFactoryIT | From | To | |
Extract Method private readMonotonicIncreasingLongValue(metricFile File) : long extracted from public showReplanEvents() : void in class org.neo4j.metrics.MetricsKernelExtensionFactoryIT | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type dependencyResolver : DependencyResolver to dependencies : MetricsKernelExtensionFactory.Dependencies in class org.neo4j.metrics.MetricsExtension | From | To |