Class InternalTopologyBuilder.Subtopology
- java.lang.Object
-
- org.apache.kafka.streams.processor.internals.InternalTopologyBuilder.Subtopology
-
- All Implemented Interfaces:
TopologyDescription.Subtopology
- Enclosing class:
- InternalTopologyBuilder
public static final class InternalTopologyBuilder.Subtopology extends java.lang.Object implements TopologyDescription.Subtopology
-
-
Constructor Summary
Constructors Constructor Description Subtopology(int id, java.util.Set<TopologyDescription.Node> nodes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)inthashCode()intid()Internally assigned unique ID.java.util.Set<TopologyDescription.Node>nodes()All nodes of this sub-topology.java.lang.StringtoString()
-
-
-
Constructor Detail
-
Subtopology
public Subtopology(int id, java.util.Set<TopologyDescription.Node> nodes)
-
-
Method Detail
-
id
public int id()
Description copied from interface:TopologyDescription.SubtopologyInternally assigned unique ID.- Specified by:
idin interfaceTopologyDescription.Subtopology- Returns:
- the ID of the sub-topology
-
nodes
public java.util.Set<TopologyDescription.Node> nodes()
Description copied from interface:TopologyDescription.SubtopologyAll nodes of this sub-topology.- Specified by:
nodesin interfaceTopologyDescription.Subtopology- Returns:
- set of all nodes within the sub-topology
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-