public class MetricExporters extends Object implements org.springframework.scheduling.annotation.SchedulingConfigurer, Closeable
SchedulingConfigurer to handle metrics export.| Constructor and Description |
|---|
MetricExporters(MetricExportProperties properties) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
configureTasks(org.springframework.scheduling.config.ScheduledTaskRegistrar taskRegistrar) |
Map<String,Exporter> |
getExporters() |
void |
setExporters(Map<String,Exporter> exporters) |
void |
setReader(MetricReader reader) |
void |
setWriters(Map<String,GaugeWriter> writers) |
public MetricExporters(MetricExportProperties properties)
public void setReader(MetricReader reader)
public void setWriters(Map<String,GaugeWriter> writers)
public void configureTasks(org.springframework.scheduling.config.ScheduledTaskRegistrar taskRegistrar)
configureTasks in interface org.springframework.scheduling.annotation.SchedulingConfigurerpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2016 Pivotal Software, Inc.. All rights reserved.