Class Watermark

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<Watermark>

    public final class Watermark
    extends java.lang.Object
    implements java.io.Serializable, java.lang.Comparable<Watermark>
    Watermark event.
    See Also:
    Serialized Form
    • Constructor Detail

      • Watermark

        public Watermark​(long timestamp)
        Parameters:
        timestamp - the watermark timestamp
    • Method Detail

      • getTimestamp

        public long getTimestamp()
        Returns:
        the watermark timestamp
      • equals

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

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

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

        public int compareTo​(Watermark o)
        Specified by:
        compareTo in interface java.lang.Comparable<Watermark>