Class BucketId


  • public class BucketId
    extends java.lang.Object
    Represents a distinct device flow bucket.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int bucket()
      Returns the bucket number.
      org.onosproject.net.DeviceId deviceId()
      Returns the bucket device identifier.
      boolean equals​(java.lang.Object other)  
      int hashCode()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Method Detail

      • deviceId

        public org.onosproject.net.DeviceId deviceId()
        Returns the bucket device identifier.
        Returns:
        the device identifier
      • bucket

        public int bucket()
        Returns the bucket number.
        Returns:
        the bucket number
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object