K - type of keyR - type of aggregated resultpublic class Session<K,R> extends Object
| Constructor and Description |
|---|
Session(K key,
long start,
long end,
R result) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
long |
getEnd()
Returns the ending timestamp of the session.
|
K |
getKey()
Returns the session's key.
|
R |
getResult()
Returns the aggregated result for the session.
|
long |
getStart()
Returns the starting timestamp of the session.
|
int |
hashCode() |
String |
toString() |
public Session(@Nonnull K key, long start, long end, @Nonnull R result)
key - getKey()start - getStart()end - getEnd()result - getResult()Copyright © 2017 Hazelcast, Inc.. All Rights Reserved.