org.apache.camel.util
Class TimeoutMapEntry

java.lang.Object
  extended by org.apache.camel.util.TimeoutMapEntry
All Implemented Interfaces:
Comparable<Object>, Map.Entry<Object,Object>

public class TimeoutMapEntry
extends Object
implements Comparable<Object>, Map.Entry<Object,Object>

Represents an entry in a TimeoutMap

Version:
$Revision: 835531 $

Constructor Summary
TimeoutMapEntry(Object id, Object handler, long timeout)
           
 
Method Summary
 int compareTo(Object that)
           
 int compareTo(TimeoutMapEntry that)
           
 long getExpireTime()
           
 Object getKey()
           
 long getTimeout()
           
 Object getValue()
           
 void setExpireTime(long expireTime)
           
 void setTimeout(long timeout)
           
 Object setValue(Object value)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map.Entry
equals, hashCode
 

Constructor Detail

TimeoutMapEntry

public TimeoutMapEntry(Object id,
                       Object handler,
                       long timeout)
Method Detail

getKey

public Object getKey()
Specified by:
getKey in interface Map.Entry<Object,Object>

getExpireTime

public long getExpireTime()

setExpireTime

public void setExpireTime(long expireTime)

getValue

public Object getValue()
Specified by:
getValue in interface Map.Entry<Object,Object>

setValue

public Object setValue(Object value)
Specified by:
setValue in interface Map.Entry<Object,Object>

getTimeout

public long getTimeout()

setTimeout

public void setTimeout(long timeout)

compareTo

public int compareTo(Object that)
Specified by:
compareTo in interface Comparable<Object>

compareTo

public int compareTo(TimeoutMapEntry that)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2007-2010 The Apache Software Foundation. All Rights Reserved.