ManagedUtil (Apache ZooKeeper - Server 3.7.0 API)
Date: 2021-03-17

org.apache.zookeeper.jmx

## Class ManagedUtil

- java.lang.Object
- - org.apache.zookeeper.jmx.ManagedUtil

-     public class ManagedUtil
      extends Object

  Shared utilities

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ManagedUtil()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static void` | `registerLog4jMBeans()` Register the log4j JMX mbeans.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### ManagedUtil

          public ManagedUtil()

  - ### Method Detail

    - #### registerLog4jMBeans

          public static void registerLog4jMBeans()
                                          throws JMException

      Register the log4j JMX mbeans. Set system property "zookeeper.jmx.log4j.disable" to true to disable registration.
      Throws:
        `JMException` - if registration fails
      See Also:
        Log4J 1.2 API docs

Copyright © 2008–2021 The Apache Software Foundation. All rights reserved.