public static final class InternalTopologyBuilder.Subtopology extends java.lang.Object implements TopologyDescription.Subtopology
Constructor and Description |
---|
Subtopology(int id,
java.util.Set<TopologyDescription.Node> nodes) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
int |
id()
Internally assigned unique ID.
|
java.util.Set<TopologyDescription.Node> |
nodes()
All nodes of this sub-topology.
|
java.lang.String |
toString() |
public Subtopology(int id, java.util.Set<TopologyDescription.Node> nodes)
public int id()
TopologyDescription.Subtopology
id
in interface TopologyDescription.Subtopology
public java.util.Set<TopologyDescription.Node> nodes()
TopologyDescription.Subtopology
nodes
in interface TopologyDescription.Subtopology
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object