| Package | Description |
|---|---|
| io.atomix.cluster |
Atomix cluster service.
|
| Modifier and Type | Method and Description |
|---|---|
Node |
Node.Builder.build() |
static Node |
Node.client(NodeId nodeId,
io.atomix.messaging.Endpoint endpoint)
Returns a new client node.
|
static Node |
Node.data(NodeId nodeId,
io.atomix.messaging.Endpoint endpoint)
Returns a new data node.
|
Node |
ClusterService.getLocalNode()
Returns the local controller node.
|
Node |
ClusterService.getNode(NodeId nodeId)
Returns the specified controller node.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<Node> |
ClusterMetadata.bootstrapNodes()
Returns the collection of bootstrap nodes.
|
Set<Node> |
ClusterService.getNodes()
Returns the set of current cluster members.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ManagedClusterMetadataService.addNode(Node node)
Adds the given node to the cluster metadata.
|
void |
ManagedClusterMetadataService.removeNode(Node node)
Removes the given node from the cluster metadata.
|
ClusterMetadata.Builder |
ClusterMetadata.Builder.withBootstrapNodes(Node... bootstrapNodes)
Sets the bootstrap nodes.
|
| Modifier and Type | Method and Description |
|---|---|
ClusterMetadata.Builder |
ClusterMetadata.Builder.withBootstrapNodes(Collection<Node> bootstrapNodes)
Sets the bootstrap nodes.
|
| Constructor and Description |
|---|
ClusterEvent(ClusterEvent.Type type,
Node instance)
Creates an event of a given type and for the specified instance and the
current time.
|
ClusterEvent(ClusterEvent.Type type,
Node instance,
long time)
Creates an event of a given type and for the specified device and time.
|
| Constructor and Description |
|---|
ClusterMetadata(Collection<Node> bootstrapNodes) |
Copyright © 2013–2018. All rights reserved.