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
FieldsModifier and TypeFieldDescriptionprotected intDeprecated.protected FileDeprecated.protected longDeprecated.protected ObjectOutputStreamDeprecated. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidDeprecated.voidDeprecated.intgetCount()Deprecated.longDeprecated.Deprecated.Deprecated.voidDeprecated.voidresetOutput(String path) Deprecated.voidtoStream(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:
getOutputLocationin interfaceMetricSerializerMXBean
-
getOutputFile
Deprecated. -
resetOutput
Deprecated.- Specified by:
resetOutputin interfaceMetricSerializerMXBean- Throws:
IOException
-
resetOutput
Deprecated.- Specified by:
resetOutputin interfaceMetricSerializerMXBean- Throws:
IOException
-
flushOuput
Deprecated.- Throws:
IOException
-
closeOutput
Deprecated.- Specified by:
closeOutputin interfaceMetricSerializerMXBean- Throws:
IOException
-
getCount
public int getCount()Deprecated.- Specified by:
getCountin interfaceMetricSerializerMXBean
-
getLastUsage
public long getLastUsage()Deprecated.- Specified by:
getLastUsagein interfaceMetricSerializerMXBean
-