Package org.onosproject.net.topology
Class ClusterId
- java.lang.Object
- 
- org.onlab.util.Identifier<java.lang.Integer>
- 
- org.onosproject.net.topology.ClusterId
 
 
- 
 public final class ClusterId extends Identifier<java.lang.Integer> Representation of the topology cluster identity.
- 
- 
Field Summary- 
Fields inherited from class org.onlab.util.Identifieridentifier
 
- 
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ClusterIdclusterId(int id)Returns the cluster identifier, represented by the specified integer serial number.intindex()Returns the backing integer index.- 
Methods inherited from class org.onlab.util.Identifierequals, hashCode, id, toString
 
- 
 
- 
- 
- 
Method Detail- 
clusterIdpublic static ClusterId clusterId(int id) Returns the cluster identifier, represented by the specified integer serial number.- Parameters:
- id- integer serial number
- Returns:
- cluster identifier
 
 - 
indexpublic int index() Returns the backing integer index.- Returns:
- backing integer index
 
 
- 
 
-