Package org.onosproject.net.topology
Interface Topology
- 
- All Superinterfaces:
- Provided
 - All Known Implementing Classes:
- DefaultTopology
 
 public interface Topology extends Provided Represents a network topology computation snapshot.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description intclusterCount()Returns the number of SCCs (strongly connected components) in the topology.longcomputeCost()Returns the time, specified in system nanos of how long the topology took to compute.longcreationTime()Returns the time, specified in system millis of when the topology became available.intdeviceCount()Returns the number of infrastructure devices in the topology.intlinkCount()Returns the number of infrastructure links in the topology.longtime()Returns the time, specified in system nanos of when the topology became available.- 
Methods inherited from interface org.onosproject.net.ProvidedproviderId
 
- 
 
- 
- 
- 
Method Detail- 
timelong time() Returns the time, specified in system nanos of when the topology became available.- Returns:
- time in system nanos
 
 - 
creationTimelong creationTime() Returns the time, specified in system millis of when the topology became available.- Returns:
- time in system nanos
 
 - 
computeCostlong computeCost() Returns the time, specified in system nanos of how long the topology took to compute.- Returns:
- elapsed time in system nanos
 
 - 
clusterCountint clusterCount() Returns the number of SCCs (strongly connected components) in the topology.- Returns:
- number of clusters
 
 - 
deviceCountint deviceCount() Returns the number of infrastructure devices in the topology.- Returns:
- number of devices
 
 - 
linkCountint linkCount() Returns the number of infrastructure links in the topology.- Returns:
- number of links
 
 
- 
 
-