Class Node
java.lang.Object
io.vertx.ext.consul.Node
- Author:
- Ruslan Sennov
-
Constructor Summary
ConstructorsConstructorDescriptionNode()Default constructorNode(JsonObject json) Constructor from JSONCopy constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanGet node addressGet node datacentergetId()Get node idGet node lan addressgetName()Get node nameGet node metaGet node wan addressinthashCode()setAddress(String address) Set node addresssetDatacenter(String datacenter) Set node datacenterSet node idsetLanAddress(String lanAddress) Set node lan addressSet node namesetNodeMeta(Map<String, String> nodeMeta) Set node metasetWanAddress(String wanAddress) Set node wan addresstoJson()Convert to JSON
-
Constructor Details
-
Node
public Node()Default constructor -
Node
-
Node
-
-
Method Details
-
toJson
-
getId
-
getName
-
getAddress
-
getLanAddress
-
getWanAddress
-
getDatacenter
-
getNodeMeta
-
setId
-
setName
-
setAddress
-
setLanAddress
-
setWanAddress
-
setDatacenter
-
setNodeMeta
-
equals
-
hashCode
-