public final class Watermark extends Object implements com.hazelcast.jet.impl.execution.SpecialBroadcastItem
Constructor and Description |
---|
Watermark(long timestamp)
Constructs a new watermark item with
0 watermark key. |
Watermark(long timestamp,
byte key)
Constructs a new watermark item with specified key.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
int |
hashCode() |
byte |
key()
Returns the key of this watermark item.
|
long |
timestamp()
Returns the timestamp of this watermark item.
|
String |
toString() |
public Watermark(long timestamp)
0
watermark key.public Watermark(long timestamp, byte key)
Copyright © 2023 Hazelcast, Inc.. All rights reserved.