Class Watermark
- java.lang.Object
-
- org.apache.nemo.common.punctuation.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 Summary
Constructors Constructor Description Watermark(long timestamp)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(Watermark o)
boolean
equals(java.lang.Object o)
long
getTimestamp()
int
hashCode()
java.lang.String
toString()
-
-
-
Method Detail
-
getTimestamp
public long getTimestamp()
- Returns:
- the watermark timestamp
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-