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 org.onlab.util.Identifier<java.lang.Integer>
Representation of the topology cluster identity.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ClusterId
clusterId(int id)
Returns the cluster identifier, represented by the specified integer serial number.int
index()
Returns the backing integer index.
-
-
-
Method Detail
-
clusterId
public static ClusterId clusterId(int id)
Returns the cluster identifier, represented by the specified integer serial number.- Parameters:
id
- integer serial number- Returns:
- cluster identifier
-
index
public int index()
Returns the backing integer index.- Returns:
- backing integer index
-
-