@Service @Properties(value=@Property(label="Disable",name="disabled",boolValue=false)) public class DatabaseMonitoringWriter extends Object implements MonitoringWriter
DISABLED_PROP
Constructor and Description |
---|
DatabaseMonitoringWriter() |
Modifier and Type | Method and Description |
---|---|
protected void |
activate(Map<String,Object> props) |
String |
getWriterName() |
void |
incrementCounter(MonitoringCounter counter) |
void |
writeEvent(MonitoringEvent event) |
void |
writeMetric(MonitoringMetric metric) |
public String getWriterName()
getWriterName
in interface MonitoringWriter
public void writeEvent(MonitoringEvent event)
writeEvent
in interface MonitoringWriter
public void writeMetric(MonitoringMetric metric)
writeMetric
in interface MonitoringWriter
public void incrementCounter(MonitoringCounter counter)
incrementCounter
in interface MonitoringWriter
Copyright © 2017 ICF Olson. All rights reserved.