Class RoutingTable.RouteIterator

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

public static class RoutingTable.RouteIterator extends Object
Implements an iterator for the routes of this. Use RoutingTable.getRouteIterator() to retrieve an instance of this.
  • Method Details

    • next

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

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

      public String getName()
      Returns the name of the current route.
    • getRoute

      public Route getRoute()
      Returns the current route.