未验证 提交 caa6a0de 编写于 作者: B Brandon Fergerson 提交者: GitHub

refactor: make more consistent (#9439)

上级 9e15a170
......@@ -20,6 +20,10 @@ package org.apache.skywalking.oap.server.analyzer.provider.trace.parser;
import org.apache.skywalking.oap.server.analyzer.provider.trace.parser.listener.AnalysisListenerFactory;
import java.util.List;
public interface ISegmentParserListenerManager {
void add(AnalysisListenerFactory analysisListenerFactory);
List<AnalysisListenerFactory> getSpanListenerFactories();
}
......@@ -36,7 +36,8 @@ public class SegmentParserListenerManager implements ISegmentParserListenerManag
spanListenerFactories.add(analysisListenerFactory);
}
List<AnalysisListenerFactory> getSpanListenerFactories() {
@Override
public List<AnalysisListenerFactory> getSpanListenerFactories() {
return spanListenerFactories;
}
}
......@@ -44,7 +44,7 @@ import org.joda.time.DateTime;
public class MetricsEsDAO extends EsDAO implements IMetricsDAO {
protected final StorageBuilder<Metrics> storageBuilder;
protected MetricsEsDAO(ElasticSearchClient client,
public MetricsEsDAO(ElasticSearchClient client,
StorageBuilder<Metrics> storageBuilder) {
super(client);
this.storageBuilder = storageBuilder;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册