Nuxeo Enterprise Platform 5.4

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 java.lang.Object
implements MetricSerializerMXBean


Constructor Summary
MetricSerializer()
           
 
Method Summary
 void closeOutput()
           
 void flushOuput()
           
 int getCount()
           
 long getLastUsage()
           
 java.io.File getOutputFile()
           
 java.lang.String getOutputLocation()
           
 void resetOutput()
           
 void resetOutput(java.lang.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 java.io.IOException
Throws:
java.io.IOException

getOutputLocation

public java.lang.String getOutputLocation()
Specified by:
getOutputLocation in interface MetricSerializerMXBean

getOutputFile

public java.io.File getOutputFile()

resetOutput

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

resetOutput

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

flushOuput

public void flushOuput()
                throws java.io.IOException
Throws:
java.io.IOException

closeOutput

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

getCount

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

getLastUsage

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

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.