Package org.apache.camel.support
Class TimeoutMapEntry<K,V>
java.lang.Object
org.apache.camel.support.TimeoutMapEntry<K,V>
- All Implemented Interfaces:
Comparable<Object>
,Map.Entry<K,
V>
Represents an entry in a
TimeoutMap
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
int
compareTo
(TimeoutMapEntry<K, V> that) long
getKey()
long
getValue()
void
setExpireTime
(long expireTime) void
setTimeout
(long timeout) toString()
-
Constructor Details
-
TimeoutMapEntry
-
-
Method Details
-
getKey
-
getExpireTime
public long getExpireTime() -
setExpireTime
public void setExpireTime(long expireTime) -
getValue
-
setValue
-
getTimeout
public long getTimeout() -
setTimeout
public void setTimeout(long timeout) -
compareTo
- Specified by:
compareTo
in interfaceComparable<K>
-
compareTo
-
toString
-