Class MetricSerializer
- java.lang.Object
-
- org.nuxeo.runtime.management.metrics.MetricSerializer
-
- All Implemented Interfaces:
MetricSerializerMXBean
@Deprecated(since="11.4") public class MetricSerializer extends Object implements MetricSerializerMXBean
Deprecated.
-
-
Field Summary
Fields Modifier and Type Field Description protected intcountDeprecated.protected FilefileDeprecated.protected longlastUsageDeprecated.protected ObjectOutputStreamoutputStreamDeprecated.
-
Constructor Summary
Constructors Constructor Description MetricSerializer()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidcloseOutput()Deprecated.voidflushOuput()Deprecated.intgetCount()Deprecated.longgetLastUsage()Deprecated.FilegetOutputFile()Deprecated.StringgetOutputLocation()Deprecated.voidresetOutput()Deprecated.voidresetOutput(String path)Deprecated.voidtoStream(org.javasimon.Sample... samples)Deprecated.
-
-
-
Field Detail
-
file
protected File file
Deprecated.
-
outputStream
protected ObjectOutputStream outputStream
Deprecated.
-
count
protected int count
Deprecated.
-
lastUsage
protected long lastUsage
Deprecated.
-
-
Method Detail
-
toStream
public void toStream(org.javasimon.Sample... samples) throws IOExceptionDeprecated.- Throws:
IOException
-
getOutputLocation
public String getOutputLocation()
Deprecated.- Specified by:
getOutputLocationin interfaceMetricSerializerMXBean
-
getOutputFile
public File getOutputFile()
Deprecated.
-
resetOutput
public void resetOutput(String path) throws IOException
Deprecated.- Specified by:
resetOutputin interfaceMetricSerializerMXBean- Throws:
IOException
-
resetOutput
public void resetOutput() throws IOExceptionDeprecated.- Specified by:
resetOutputin interfaceMetricSerializerMXBean- Throws:
IOException
-
flushOuput
public void flushOuput() throws IOExceptionDeprecated.- Throws:
IOException
-
closeOutput
public void closeOutput() throws IOExceptionDeprecated.- Specified by:
closeOutputin interfaceMetricSerializerMXBean- Throws:
IOException
-
getCount
public int getCount()
Deprecated.- Specified by:
getCountin interfaceMetricSerializerMXBean
-
getLastUsage
public long getLastUsage()
Deprecated.- Specified by:
getLastUsagein interfaceMetricSerializerMXBean
-
-