public class RoleInfo
extends java.lang.Object
Constructor and Description |
---|
RoleInfo() |
RoleInfo(NodeId master,
java.util.List<NodeId> backups) |
Modifier and Type | Method and Description |
---|---|
java.util.List<NodeId> |
backups() |
boolean |
equals(java.lang.Object other) |
int |
hashCode() |
NodeId |
master() |
java.lang.String |
toString() |
public NodeId master()
public java.util.List<NodeId> backups()
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object