org.apache.activemq.artemis.api.core.management

## Class NodeInfo

- java.lang.Object
- - org.apache.activemq.artemis.api.core.management.NodeInfo

-     public class NodeInfo
      extends Object

  Helper class to create Java Objects from the JSON serialization returned by `ActiveMQServerControl.listNetworkTopology()`.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `NodeInfo(String id, String live, String backup)`

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static NodeInfo[]` | `from(String jsonString)` Returns an array of NodeInfo corresponding to the JSON serialization returned by `ActiveMQServerControl.listNetworkTopology()`.
    `String` | `getBackup()`
    `String` | `getId()`
    `String` | `getLive()`

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

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

- - ### Constructor Detail

    - #### NodeInfo

          public NodeInfo(String id,
                          String live,
                          String backup)

  - ### Method Detail

    - #### getId

          public String getId()

    - #### getLive

          public String getLive()

    - #### getBackup

          public String getBackup()

    - #### from

          public static NodeInfo[] from(String jsonString)
                                 throws Exception

      Returns an array of NodeInfo corresponding to the JSON serialization returned by `ActiveMQServerControl.listNetworkTopology()`.
      Throws:
        `Exception`

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