Class ClusterId


  • public final class ClusterId
    extends org.onlab.util.Identifier<java.lang.Integer>
    Representation of the topology cluster identity.
    • Field Summary

      • Fields inherited from class org.onlab.util.Identifier

        identifier
    • 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.
      • Methods inherited from class org.onlab.util.Identifier

        equals, hashCode, id, toString
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • 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