public interface Destination extends Closeable
Reportersand are completely controlled by them. The only responsibility of a destination is to open a reporting channel, report measurements, and close the reporting channel. It is the role of
Measurementto provide all the information to be reported (including value types, names, units and custom labels).
void open(Reporter parentReporter)
parentReporter- Reporter opening the destination.
void report(Measurement measurement) throws ReportingException
Measurementto the destination.
measurement- A measurement to be reported.
ReportingException- When an error occurred during reporting the measurement like no space left on device. The root cause should be encapsulated.
Copyright © 2010–2017 PerfCake Community. All rights reserved.