| Constructor and Description |
|---|
TimestampedEntry(long timestamp,
K key,
V value)
Constructs a timestamped entry with the supplied field values.
|
TimestampedEntry(long ignored,
long timestamp,
K key,
V value)
This constructor exists in order to match the shape of the functional
interface
KeyedWindowResultFunction. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
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, waitcomparingByKey, comparingByKey, comparingByValue, comparingByValuepublic TimestampedEntry(long timestamp,
@Nonnull
K key,
@Nonnull
V value)
public TimestampedEntry(long ignored,
long timestamp,
@Nonnull
K key,
@Nonnull
V value)
KeyedWindowResultFunction.
Constructs a timestamped entry with the supplied field values. Ignores the first argument.
public long getTimestamp()
public int hashCode()
public boolean equals(Object obj)
Copyright © 2018 Hazelcast, Inc.. All rights reserved.