Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.runtime.management.metrics
Class MetricSerializer

java.lang.Object
  extended by org.nuxeo.runtime.management.metrics.MetricSerializer
All Implemented Interfaces:
MetricSerializerMXBean

public class MetricSerializer
extends Object
implements MetricSerializerMXBean


Constructor Summary
MetricSerializer()
           
 
Method Summary
 void closeOutput()
           
 void flushOuput()
           
 int getCount()
           
 long getLastUsage()
           
 File getOutputFile()
           
 String getOutputLocation()
           
 void resetOutput()
           
 void resetOutput(String path)
           
 void toStream(org.javasimon.Sample... samples)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MetricSerializer

public MetricSerializer()
Method Detail

toStream

public void toStream(org.javasimon.Sample... samples)
              throws IOException
Throws:
IOException

getOutputLocation

public String getOutputLocation()
Specified by:
getOutputLocation in interface MetricSerializerMXBean

getOutputFile

public File getOutputFile()

resetOutput

public void resetOutput(String path)
                 throws IOException
Specified by:
resetOutput in interface MetricSerializerMXBean
Throws:
IOException

resetOutput

public void resetOutput()
                 throws IOException
Specified by:
resetOutput in interface MetricSerializerMXBean
Throws:
IOException

flushOuput

public void flushOuput()
                throws IOException
Throws:
IOException

closeOutput

public void closeOutput()
                 throws IOException
Specified by:
closeOutput in interface MetricSerializerMXBean
Throws:
IOException

getCount

public int getCount()
Specified by:
getCount in interface MetricSerializerMXBean

getLastUsage

public long getLastUsage()
Specified by:
getLastUsage in interface MetricSerializerMXBean

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.