com.yammer.metrics.reporting
Interface CsvReporter.Context

Enclosing class:
CsvReporter

public static interface CsvReporter.Context

The context used to output metrics.


Method Summary
 PrintStream getStream(String header)
          Returns an open PrintStream for the metric with header already written to it.
 

Method Detail

getStream

PrintStream getStream(String header)
                      throws IOException
Returns an open PrintStream for the metric with header already written to it.

Parameters:
header - the CSV header
Returns:
an open PrintStream
Throws:
IOException - if there is an error opening the stream or writing to it


Copyright © 2012. All Rights Reserved.