Class MetricEnabler
- java.lang.Object
-
- org.nuxeo.runtime.management.metrics.MetricEnabler
-
- All Implemented Interfaces:
MetricEnablerMXBean
@Deprecated(since="11.4") public class MetricEnabler extends Object implements MetricEnablerMXBean
Deprecated.
-
-
Field Summary
Fields Modifier and Type Field Description protected org.javasimon.jmx.JmxRegisterCallback
jmxCB
Deprecated.protected org.javasimon.utils.LoggingCallback
lgCB
Deprecated.protected MetricSerializer
serializer
Deprecated.protected MetricSerializingCallback
srzCB
Deprecated.
-
Constructor Summary
Constructors Constructor Description MetricEnabler()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
disable()
Deprecated.void
disableLogging()
Deprecated.void
disableSerializing()
Deprecated.void
enable()
Deprecated.void
enableLogging()
Deprecated.void
enableSerializing()
Deprecated.boolean
isEnabled()
Deprecated.boolean
isLogging()
Deprecated.boolean
isSerializing()
Deprecated.protected void
setSerializer(MetricSerializer serializer)
Deprecated.
-
-
-
Field Detail
-
serializer
protected MetricSerializer serializer
Deprecated.
-
lgCB
protected org.javasimon.utils.LoggingCallback lgCB
Deprecated.
-
jmxCB
protected final org.javasimon.jmx.JmxRegisterCallback jmxCB
Deprecated.
-
srzCB
protected MetricSerializingCallback srzCB
Deprecated.
-
-
Method Detail
-
setSerializer
protected void setSerializer(MetricSerializer serializer)
Deprecated.
-
enable
public void enable()
Deprecated.- Specified by:
enable
in interfaceMetricEnablerMXBean
-
disable
public void disable()
Deprecated.- Specified by:
disable
in interfaceMetricEnablerMXBean
-
isEnabled
public boolean isEnabled()
Deprecated.- Specified by:
isEnabled
in interfaceMetricEnablerMXBean
-
enableLogging
public void enableLogging()
Deprecated.- Specified by:
enableLogging
in interfaceMetricEnablerMXBean
-
disableLogging
public void disableLogging()
Deprecated.- Specified by:
disableLogging
in interfaceMetricEnablerMXBean
-
isLogging
public boolean isLogging()
Deprecated.- Specified by:
isLogging
in interfaceMetricEnablerMXBean
-
enableSerializing
public void enableSerializing() throws IOException
Deprecated.- Specified by:
enableSerializing
in interfaceMetricEnablerMXBean
- Throws:
IOException
-
disableSerializing
public void disableSerializing() throws IOException
Deprecated.- Specified by:
disableSerializing
in interfaceMetricEnablerMXBean
- Throws:
IOException
-
isSerializing
public boolean isSerializing()
Deprecated.- Specified by:
isSerializing
in interfaceMetricEnablerMXBean
-
-