Collector.AgentConfigUpdater, Collector.AggregateReader, Collector.AggregateVisitor, Collector.TraceReader, Collector.TraceVisitor| Constructor and Description |
|---|
CentralCollector(Map<String,String> properties,
String collectorAddress,
String collectorAuthority,
List<File> confDirs,
boolean configReadOnly,
LiveJvmServiceImpl liveJvmService,
LiveWeavingServiceImpl liveWeavingService,
LiveTraceRepositoryImpl liveTraceRepository,
Collector.AgentConfigUpdater agentConfigUpdater,
ConfigService configService) |
| Modifier and Type | Method and Description |
|---|---|
void |
awaitClose() |
void |
close() |
void |
collectAggregates(Collector.AggregateReader aggregateReader) |
void |
collectGaugeValues(List<CollectorServiceOuterClass.GaugeValueMessage.GaugeValue> gaugeValues) |
void |
collectTrace(Collector.TraceReader traceReader) |
void |
init(List<File> confDirs,
CollectorServiceOuterClass.InitMessage.Environment environment,
AgentConfigOuterClass.AgentConfig agentConfig,
Collector.AgentConfigUpdater agentConfigUpdater) |
void |
log(CollectorServiceOuterClass.LogMessage.LogEvent logEvent) |
public CentralCollector(Map<String,String> properties, String collectorAddress, String collectorAuthority, List<File> confDirs, boolean configReadOnly, LiveJvmServiceImpl liveJvmService, LiveWeavingServiceImpl liveWeavingService, LiveTraceRepositoryImpl liveTraceRepository, Collector.AgentConfigUpdater agentConfigUpdater, ConfigService configService) throws Exception
Exception@OnlyUsedByTests public void awaitClose() throws InterruptedException
InterruptedException@OnlyUsedByTests public void close() throws InterruptedException
InterruptedExceptionpublic void collectAggregates(Collector.AggregateReader aggregateReader) throws InterruptedException
collectAggregates in interface CollectorInterruptedExceptionpublic void collectGaugeValues(List<CollectorServiceOuterClass.GaugeValueMessage.GaugeValue> gaugeValues) throws InterruptedException
collectGaugeValues in interface CollectorInterruptedExceptionpublic void collectTrace(Collector.TraceReader traceReader) throws InterruptedException
collectTrace in interface CollectorInterruptedExceptionpublic void init(List<File> confDirs, CollectorServiceOuterClass.InitMessage.Environment environment, AgentConfigOuterClass.AgentConfig agentConfig, Collector.AgentConfigUpdater agentConfigUpdater) throws IOException
init in interface CollectorIOExceptionpublic void log(CollectorServiceOuterClass.LogMessage.LogEvent logEvent) throws InterruptedException
log in interface CollectorInterruptedExceptionCopyright © 2011–2020 Glowroot contributors. All rights reserved.