- All Implemented Interfaces:
io.atomix.utils.Identifier<String>, Comparable<NodeId>
public class MemberId
extends NodeId
Controller cluster identity.
-
-
Method Summary
| Modifier and Type |
Method |
Description |
static MemberId |
anonymous() |
Creates a new cluster node identifier from the specified string.
|
static MemberId |
from(String id) |
Creates a new cluster node identifier from the specified string.
|
Methods inherited from class io.atomix.utils.AbstractIdentifier
id, toString
-
-
Method Details
-
Creates a new cluster node identifier from the specified string.
- Returns:
- node id
-
Creates a new cluster node identifier from the specified string.
- Parameters:
id - string identifier
- Returns:
- node id