Class FlowBucketDigest


  • public class FlowBucketDigest
    extends Object
    Flow bucket digest.
    • 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 Object