Class FlowBucketDigest


  • public class FlowBucketDigest
    extends java.lang.Object
    Flow bucket digest.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int bucket()
      Returns the bucket identifier.
      boolean equals​(java.lang.Object object)  
      int hashCode()  
      boolean isNewerThan​(FlowBucketDigest digest)
      Returns a boolean indicating whether this digest is newer than the given digest.
      long term()
      Returns the bucket term.
      org.onosproject.store.LogicalTimestamp timestamp()
      Returns the bucket timestamp.
      • Methods inherited from class java.lang.Object

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

      • bucket

        public int bucket()
        Returns the bucket identifier.
        Returns:
        the bucket identifier
      • term

        public long term()
        Returns the bucket term.
        Returns:
        the bucket term
      • timestamp

        public org.onosproject.store.LogicalTimestamp timestamp()
        Returns the bucket timestamp.
        Returns:
        the bucket timestamp
      • isNewerThan

        public boolean isNewerThan​(FlowBucketDigest digest)
        Returns a boolean indicating whether this digest is newer than the given digest.
        Parameters:
        digest - the digest to check
        Returns:
        indicates whether this digest is newer than the given digest
      • hashCode

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

        public boolean equals​(java.lang.Object object)
        Overrides:
        equals in class java.lang.Object