Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.runtime.management.metrics
Class MetricEnabler

java.lang.Object
  extended by org.nuxeo.runtime.management.metrics.MetricEnabler
All Implemented Interfaces:
MetricEnablerMXBean

public class MetricEnabler
extends Object
implements MetricEnablerMXBean


Constructor Summary
MetricEnabler()
           
 
Method Summary
 void disable()
           
 void disableLogging()
           
 void disableSerializing()
           
 void enable()
           
 void enableLogging()
           
 void enableSerializing()
           
 boolean isEnabled()
           
 boolean isLogging()
           
 boolean isSerializing()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MetricEnabler

public MetricEnabler()
Method Detail

enable

public void enable()
Specified by:
enable in interface MetricEnablerMXBean

disable

public void disable()
Specified by:
disable in interface MetricEnablerMXBean

isEnabled

public boolean isEnabled()
Specified by:
isEnabled in interface MetricEnablerMXBean

enableLogging

public void enableLogging()
Specified by:
enableLogging in interface MetricEnablerMXBean

disableLogging

public void disableLogging()
Specified by:
disableLogging in interface MetricEnablerMXBean

isLogging

public boolean isLogging()
Specified by:
isLogging in interface MetricEnablerMXBean

enableSerializing

public void enableSerializing()
                       throws IOException
Specified by:
enableSerializing in interface MetricEnablerMXBean
Throws:
IOException

disableSerializing

public void disableSerializing()
                        throws IOException
Specified by:
disableSerializing in interface MetricEnablerMXBean
Throws:
IOException

isSerializing

public boolean isSerializing()
Specified by:
isSerializing in interface MetricEnablerMXBean

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.