public class GraphiteOutput extends Object implements org.neo4j.kernel.lifecycle.Lifecycle, EventReporter
| Constructor and Description |
|---|
GraphiteOutput(org.neo4j.helpers.HostnamePort hostnamePort,
long period,
com.codahale.metrics.MetricRegistry registry,
org.neo4j.logging.Log logger,
String prefix) |
| Modifier and Type | Method and Description |
|---|---|
void |
init() |
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.
|
void |
shutdown() |
void |
start() |
void |
stop() |
public GraphiteOutput(org.neo4j.helpers.HostnamePort hostnamePort,
long period,
com.codahale.metrics.MetricRegistry registry,
org.neo4j.logging.Log logger,
String prefix)
public void init()
init in interface org.neo4j.kernel.lifecycle.Lifecyclepublic void start()
start in interface org.neo4j.kernel.lifecycle.Lifecyclepublic void stop()
throws IOException
stop in interface org.neo4j.kernel.lifecycle.LifecycleIOExceptionpublic void shutdown()
shutdown in interface org.neo4j.kernel.lifecycle.Lifecyclepublic 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 registryCopyright © 2002–2016 The Neo4j Graph Database Project. All rights reserved.