Constructor and Description |
---|
TimestampedEntry(long timestamp,
K key,
V value)
Constructs a timestamped entry with the supplied field values.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
static <K,V> TimestampedEntry<K,V> |
fromWindowResult(long winStart,
long winEnd,
K key,
V value)
This method matches the shape of the functional interface
KeyedWindowResultFunction . |
K |
getKey() |
long |
getTimestamp()
Returns the timestamp of this entry.
|
V |
getValue() |
int |
hashCode() |
V |
setValue(V value) |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
comparingByKey, comparingByKey, comparingByValue, comparingByValue
public long getTimestamp()
public int hashCode()
public boolean equals(Object obj)
public static <K,V> TimestampedEntry<K,V> fromWindowResult(long winStart, long winEnd, @Nonnull K key, @Nonnull V value)
KeyedWindowResultFunction
.
Constructs a TimestampedEntry
using the window end time as the
timestamp.
Copyright © 2018 Hazelcast, Inc.. All rights reserved.