public class YammerMetricsAssembler extends Object implements org.qi4j.bootstrap.Assembler
Constructor and Description |
---|
YammerMetricsAssembler()
Default constructor only creates a Yammer JMXReporter
|
YammerMetricsAssembler(File outDirectory,
long period,
TimeUnit timeunit)
Creates a CSV reporter and writes the result to the given directory
|
YammerMetricsAssembler(PrintStream out,
long period,
TimeUnit timeunit)
Creates a ConsoleReporter and sends the output to the given PrintStream.
|
public YammerMetricsAssembler()
public YammerMetricsAssembler(PrintStream out, long period, TimeUnit timeunit)
out
- The PrintStream to receive the output.period
- The reporting interval.timeunit
- The TimeUnit for the reporting interval.public YammerMetricsAssembler(File outDirectory, long period, TimeUnit timeunit)
outDirectory
- The directory to write the result to.period
- The reporting interval.timeunit
- The TimeUnit for the reporting interval.public void assemble(org.qi4j.bootstrap.ModuleAssembly module) throws org.qi4j.bootstrap.AssemblyException
assemble
in interface org.qi4j.bootstrap.Assembler
org.qi4j.bootstrap.AssemblyException
public void shutdown()