Package org.onosproject.net.topology
Interface GraphDescription
- 
- All Superinterfaces:
 Annotated,Description
- All Known Implementing Classes:
 DefaultGraphDescription
public interface GraphDescription extends Description
Describes attribute(s) of a network graph. 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longcreationTime()Returns the creation timestamp of the graph description.com.google.common.collect.ImmutableSet<TopologyEdge>edges()Returns the set of topology graph edges.longtimestamp()Returns the creation timestamp of the graph description.com.google.common.collect.ImmutableSet<TopologyVertex>vertexes()Returns the set of topology graph vertexes.- 
Methods inherited from interface org.onosproject.net.Description
annotations 
 - 
 
 - 
 
- 
- 
Method Detail
- 
timestamp
long timestamp()
Returns the creation timestamp of the graph description. This is expressed in system nanos to allow proper sequencing.- Returns:
 - graph description creation timestamp
 
 
- 
creationTime
long creationTime()
Returns the creation timestamp of the graph description. This is expressed in system millis to allow proper date and time formatting.- Returns:
 - graph description creation timestamp in millis
 
 
- 
vertexes
com.google.common.collect.ImmutableSet<TopologyVertex> vertexes()
Returns the set of topology graph vertexes.- Returns:
 - set of graph vertexes
 
 
- 
edges
com.google.common.collect.ImmutableSet<TopologyEdge> edges()
Returns the set of topology graph edges.- Returns:
 - set of graph edges
 
 
 - 
 
 -