4942bf8b33fd740dfe5617743172377ead2383f3
Files Diff
- Added: 7
- Removed: 2
- Renamed: 0
- Modified: 11
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Move Method | 1 | ||
Move Method public runRetention(strategy RetentionStrategy, deflectorIndices Map<String,IndexStats>, removeCount int) : void from class org.graylog2.periodical.IndexRetentionThread to private runRetention(deflectorIndices Map<String,IndexStats>, removeCount int) : void from class org.graylog2.indexer.retention.strategies.AbstractIndexCountBasedRetentionStrategy | From | To | |
Rename Variable | 1 | ||
Rename Variable indexCount : int to config : IndexManagementConfig in method public doRun() : void in class org.graylog2.periodical.IndexRetentionThread | From | To | |
Push Down Attribute | 1 | ||
Push Down Attribute private LOG : Logger from class org.graylog2.plugin.indexer.retention.RetentionStrategy to private LOG : Logger from class org.graylog2.indexer.retention.strategies.AbstractIndexCountBasedRetentionStrategy | From | To | |
Extract Superclass | 1 | ||
Extract Superclass org.graylog2.indexer.retention.strategies.AbstractIndexCountBasedRetentionStrategy from classes [org.graylog2.indexer.retention.strategies.ClosingRetentionStrategy, org.graylog2.indexer.retention.strategies.DeletionRetentionStrategy] | From | To | |
Change Variable Type | 1 | ||
Change Variable Type indexCount : int to config : IndexManagementConfig in method public doRun() : void in class org.graylog2.periodical.IndexRetentionThread | From | To |