Class RoutingTable.HopIterator

java.lang.Object
com.yahoo.messagebus.routing.RoutingTable.HopIterator
Enclosing class:
RoutingTable

public static class RoutingTable.HopIterator extends Object
Implements an iterator for the hops of this. Use RoutingTable.getHopIterator() to retrieve an instance of this.
  • Method Details

    • next

      public void next()
      Steps to the next hop in the map.
    • isValid

      public boolean isValid()
      Returns whether this iterator is valid.
    • getName

      public String getName()
      Returns the name of the current hop.
    • getHop

      public HopBlueprint getHop()
      Returns the current hop.