Package io.atomix.cluster
Class Node
java.lang.Object
io.atomix.cluster.Node
- All Implemented Interfaces:
io.atomix.utils.config.Configured<NodeConfig>
- Direct Known Subclasses:
Member
public class Node extends Object implements io.atomix.utils.config.Configured<NodeConfig>
Represents a node.
-
Constructor Summary
Constructors Constructor Description Node(NodeConfig config) -
Method Summary
-
Constructor Details
-
Method Details
-
builder
Returns a new member builder with no ID.- Returns:
- the member builder
-
id
Returns the instance identifier.- Returns:
- instance identifier
-
address
public io.atomix.utils.net.Address address()Returns the node address.- Returns:
- the node address
-
config
- Specified by:
configin interfaceio.atomix.utils.config.Configured<NodeConfig>
-
hashCode
public int hashCode() -
equals
-
toString
-