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 int
count
Deprecated.protected File
file
Deprecated.protected long
lastUsage
Deprecated.protected ObjectOutputStream
outputStream
Deprecated.
-
Constructor Summary
Constructors Constructor Description MetricSerializer()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
closeOutput()
Deprecated.void
flushOuput()
Deprecated.int
getCount()
Deprecated.long
getLastUsage()
Deprecated.File
getOutputFile()
Deprecated.String
getOutputLocation()
Deprecated.void
resetOutput()
Deprecated.void
resetOutput(String path)
Deprecated.void
toStream(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 IOException
Deprecated.- Throws:
IOException
-
getOutputLocation
public String getOutputLocation()
Deprecated.- Specified by:
getOutputLocation
in interfaceMetricSerializerMXBean
-
getOutputFile
public File getOutputFile()
Deprecated.
-
resetOutput
public void resetOutput(String path) throws IOException
Deprecated.- Specified by:
resetOutput
in interfaceMetricSerializerMXBean
- Throws:
IOException
-
resetOutput
public void resetOutput() throws IOException
Deprecated.- Specified by:
resetOutput
in interfaceMetricSerializerMXBean
- Throws:
IOException
-
flushOuput
public void flushOuput() throws IOException
Deprecated.- Throws:
IOException
-
closeOutput
public void closeOutput() throws IOException
Deprecated.- Specified by:
closeOutput
in interfaceMetricSerializerMXBean
- Throws:
IOException
-
getCount
public int getCount()
Deprecated.- Specified by:
getCount
in interfaceMetricSerializerMXBean
-
getLastUsage
public long getLastUsage()
Deprecated.- Specified by:
getLastUsage
in interfaceMetricSerializerMXBean
-
-