K
- Type of the keys to which timers are scoped.N
- Type of the namespace to which timers are scoped.@Internal public class InternalTimer<K,N> extends Object implements Comparable<InternalTimer<K,N>>
Modifier and Type | Class and Description |
---|---|
static class |
InternalTimer.TimerSerializer<K,N>
A
TypeSerializer used to serialize/deserialize a InternalTimer . |
Constructor and Description |
---|
InternalTimer(long timestamp,
K key,
N namespace) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(InternalTimer<K,N> o) |
boolean |
equals(Object o) |
K |
getKey() |
N |
getNamespace() |
long |
getTimestamp() |
int |
hashCode() |
String |
toString() |
public long getTimestamp()
public K getKey()
public N getNamespace()
public int compareTo(InternalTimer<K,N> o)
compareTo
in interface Comparable<InternalTimer<K,N>>
Copyright © 2014–2018 The Apache Software Foundation. All rights reserved.