public class MetricEnabler extends Object implements MetricEnablerMXBean
Constructor and Description |
---|
MetricEnabler() |
Modifier and Type | Method and Description |
---|---|
void |
disable() |
void |
disableLogging() |
void |
disableSerializing() |
void |
enable() |
void |
enableLogging() |
void |
enableSerializing() |
boolean |
isEnabled() |
boolean |
isLogging() |
boolean |
isSerializing() |
public void enable()
enable
in interface MetricEnablerMXBean
public void disable()
disable
in interface MetricEnablerMXBean
public boolean isEnabled()
isEnabled
in interface MetricEnablerMXBean
public void enableLogging()
enableLogging
in interface MetricEnablerMXBean
public void disableLogging()
disableLogging
in interface MetricEnablerMXBean
public boolean isLogging()
isLogging
in interface MetricEnablerMXBean
public void enableSerializing() throws IOException
enableSerializing
in interface MetricEnablerMXBean
IOException
public void disableSerializing() throws IOException
disableSerializing
in interface MetricEnablerMXBean
IOException
public boolean isSerializing()
isSerializing
in interface MetricEnablerMXBean
Copyright © 2013 Nuxeo SA. All Rights Reserved.