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
Modifier and TypeFieldDescriptionprotected int
Deprecated.protected File
Deprecated.protected long
Deprecated.protected ObjectOutputStream
Deprecated. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Deprecated.void
Deprecated.int
getCount()
Deprecated.long
Deprecated.Deprecated.Deprecated.void
Deprecated.void
resetOutput
(String path) Deprecated.void
toStream
(org.javasimon.Sample... samples) Deprecated.
-
Field Details
-
file
Deprecated. -
outputStream
Deprecated. -
count
protected int countDeprecated. -
lastUsage
protected long lastUsageDeprecated.
-
-
Constructor Details
-
MetricSerializer
public MetricSerializer()Deprecated.
-
-
Method Details
-
toStream
Deprecated.- Throws:
IOException
-
getOutputLocation
Deprecated.- Specified by:
getOutputLocation
in interfaceMetricSerializerMXBean
-
getOutputFile
Deprecated. -
resetOutput
Deprecated.- Specified by:
resetOutput
in interfaceMetricSerializerMXBean
- Throws:
IOException
-
resetOutput
Deprecated.- Specified by:
resetOutput
in interfaceMetricSerializerMXBean
- Throws:
IOException
-
flushOuput
Deprecated.- Throws:
IOException
-
closeOutput
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
-