public class CompositeEventReporter extends Object implements EventReporter
EventReporter interface that compounds several reporters internally.| Constructor and Description |
|---|
CompositeEventReporter() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(EventReporter reporter) |
boolean |
isEmpty() |
void |
report(SortedMap<String,com.codahale.metrics.Gauge> gauges,
SortedMap<String,com.codahale.metrics.Counter> counters,
SortedMap<String,com.codahale.metrics.Histogram> histograms,
SortedMap<String,com.codahale.metrics.Meter> meters,
SortedMap<String,com.codahale.metrics.Timer> timers)
To be called whenever an event occurs.
|
public void report(SortedMap<String,com.codahale.metrics.Gauge> gauges, SortedMap<String,com.codahale.metrics.Counter> counters, SortedMap<String,com.codahale.metrics.Histogram> histograms, SortedMap<String,com.codahale.metrics.Meter> meters, SortedMap<String,com.codahale.metrics.Timer> timers)
EventReporterreport in interface EventReportergauges - all of the gauges in the registrycounters - all of the counters in the registryhistograms - all of the histograms in the registrymeters - all of the meters in the registrytimers - all of the timers in the registrypublic void add(EventReporter reporter)
public boolean isEmpty()
Copyright © 2002–2016 The Neo4j Graph Database Project. All rights reserved.