|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.camel.support.ServiceSupport
org.apache.camel.support.DefaultTimeoutMap<String,ReplyHandler>
org.apache.camel.component.jms.reply.CorrelationTimeoutMap
public class CorrelationTimeoutMap
A TimeoutMap which is used to track reply messages which
has been timed out, and thus should trigger the waiting Exchange to
timeout as well.
| Field Summary |
|---|
| Fields inherited from class org.apache.camel.support.DefaultTimeoutMap |
|---|
log |
| Fields inherited from class org.apache.camel.support.ServiceSupport |
|---|
shutdown, shuttingdown, started, starting, stopped, stopping, suspended, suspending |
| Constructor Summary | |
|---|---|
CorrelationTimeoutMap(ScheduledExecutorService executor,
long requestMapPollTimeMillis)
|
|
| Method Summary | |
|---|---|
boolean |
onEviction(String key,
ReplyHandler value)
|
void |
put(String key,
ReplyHandler value,
long timeoutMillis)
|
ReplyHandler |
remove(String key)
|
void |
setListener(CorrelationListener listener)
|
| Methods inherited from class org.apache.camel.support.DefaultTimeoutMap |
|---|
currentTime, doStart, doStop, get, getExecutor, getKeys, getPurgePollTime, isValidForEviction, purge, run, schedulePoll, size, updateExpireTime |
| Methods inherited from class org.apache.camel.support.ServiceSupport |
|---|
doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, resume, shutdown, start, stop, suspend |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CorrelationTimeoutMap(ScheduledExecutorService executor,
long requestMapPollTimeMillis)
| Method Detail |
|---|
public void setListener(CorrelationListener listener)
public boolean onEviction(String key,
ReplyHandler value)
onEviction in interface org.apache.camel.TimeoutMap<String,ReplyHandler>onEviction in class org.apache.camel.support.DefaultTimeoutMap<String,ReplyHandler>
public void put(String key,
ReplyHandler value,
long timeoutMillis)
put in interface org.apache.camel.TimeoutMap<String,ReplyHandler>put in class org.apache.camel.support.DefaultTimeoutMap<String,ReplyHandler>public ReplyHandler remove(String key)
remove in interface org.apache.camel.TimeoutMap<String,ReplyHandler>remove in class org.apache.camel.support.DefaultTimeoutMap<String,ReplyHandler>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||