Interface Topology

  • All Superinterfaces:
    Provided
    All Known Implementing Classes:
    DefaultTopology

    public interface Topology
    extends Provided
    Represents a network topology computation snapshot.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      int clusterCount()
      Returns the number of SCCs (strongly connected components) in the topology.
      long computeCost()
      Returns the time, specified in system nanos of how long the topology took to compute.
      long creationTime()
      Returns the time, specified in system millis of when the topology became available.
      int deviceCount()
      Returns the number of infrastructure devices in the topology.
      int linkCount()
      Returns the number of infrastructure links in the topology.
      long time()
      Returns the time, specified in system nanos of when the topology became available.
    • Method Detail

      • time

        long time()
        Returns the time, specified in system nanos of when the topology became available.
        Returns:
        time in system nanos
      • creationTime

        long creationTime()
        Returns the time, specified in system millis of when the topology became available.
        Returns:
        time in system nanos
      • computeCost

        long computeCost()
        Returns the time, specified in system nanos of how long the topology took to compute.
        Returns:
        elapsed time in system nanos
      • clusterCount

        int clusterCount()
        Returns the number of SCCs (strongly connected components) in the topology.
        Returns:
        number of clusters
      • deviceCount

        int deviceCount()
        Returns the number of infrastructure devices in the topology.
        Returns:
        number of devices
      • linkCount

        int linkCount()
        Returns the number of infrastructure links in the topology.
        Returns:
        number of links