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
IOExceptionpublic String getOutputLocation()
getOutputLocation in interface MetricSerializerMXBeanpublic File getOutputFile()
public void resetOutput(String path) throws IOException
resetOutput in interface MetricSerializerMXBeanIOExceptionpublic void resetOutput()
throws IOException
resetOutput in interface MetricSerializerMXBeanIOExceptionpublic void flushOuput()
throws IOException
IOExceptionpublic void closeOutput()
throws IOException
closeOutput in interface MetricSerializerMXBeanIOExceptionpublic int getCount()
getCount in interface MetricSerializerMXBeanpublic long getLastUsage()
getLastUsage in interface MetricSerializerMXBeanCopyright © 2013 Nuxeo SA. All Rights Reserved.