public class MetricSerializer extends Object implements MetricSerializerMXBean
Constructor and Description |
---|
MetricSerializer() |
Modifier and Type | Method and Description |
---|---|
void |
closeOutput() |
void |
flushOuput() |
int |
getCount() |
long |
getLastUsage() |
File |
getOutputFile() |
String |
getOutputLocation() |
void |
resetOutput() |
void |
resetOutput(String path) |
void |
toStream(org.javasimon.Sample... samples) |
public void toStream(org.javasimon.Sample... samples) throws IOException
IOException
public String getOutputLocation()
getOutputLocation
in interface MetricSerializerMXBean
public File getOutputFile()
public void resetOutput(String path) throws IOException
resetOutput
in interface MetricSerializerMXBean
IOException
public void resetOutput() throws IOException
resetOutput
in interface MetricSerializerMXBean
IOException
public void flushOuput() throws IOException
IOException
public void closeOutput() throws IOException
closeOutput
in interface MetricSerializerMXBean
IOException
public int getCount()
getCount
in interface MetricSerializerMXBean
public long getLastUsage()
getLastUsage
in interface MetricSerializerMXBean
Copyright © 2015 Nuxeo SA. All rights reserved.