public class NodeConfig extends java.lang.Object implements Config
| Constructor and Description |
|---|
NodeConfig() |
| Modifier and Type | Method and Description |
|---|---|
Address |
getAddress()
Returns the node address.
|
NodeId |
getId()
Returns the node identifier.
|
NodeConfig |
setAddress(Address address)
Sets the node address.
|
NodeConfig |
setAddress(java.lang.String address)
Sets the node address.
|
NodeConfig |
setId(NodeId id)
Sets the node identifier.
|
NodeConfig |
setId(java.lang.String id)
Sets the node identifier.
|
public NodeId getId()
public NodeConfig setId(java.lang.String id)
id - the node identifierpublic NodeConfig setId(NodeId id)
id - the node identifierpublic Address getAddress()
public NodeConfig setAddress(java.lang.String address)
address - the node addresspublic NodeConfig setAddress(Address address)
address - the node addressCopyright © 2013-2018. All Rights Reserved.