Class NodeInfo
- java.lang.Object
-
- org.apache.activemq.artemis.api.core.management.NodeInfo
-
public class NodeInfo extends java.lang.Object
Helper class to create Java Objects from the JSON serialization returned byActiveMQServerControl.listNetworkTopology()
.
-
-
Constructor Summary
Constructors Constructor Description NodeInfo(java.lang.String id, java.lang.String live, java.lang.String backup)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NodeInfo[]
from(java.lang.String jsonString)
Returns an array of NodeInfo corresponding to the JSON serialization returned byActiveMQServerControl.listNetworkTopology()
.java.lang.String
getBackup()
java.lang.String
getId()
java.lang.String
getLive()
-
-
-
Method Detail
-
getId
public java.lang.String getId()
-
getLive
public java.lang.String getLive()
-
getBackup
public java.lang.String getBackup()
-
from
public static NodeInfo[] from(java.lang.String jsonString) throws java.lang.Exception
Returns an array of NodeInfo corresponding to the JSON serialization returned byActiveMQServerControl.listNetworkTopology()
.- Throws:
java.lang.Exception
-
-