Class ReplyTimeoutMap
java.lang.Object
org.apache.camel.support.service.BaseService
org.apache.camel.support.service.ServiceSupport
org.apache.camel.support.DefaultTimeoutMap<String,ReplyHandler>
org.apache.camel.component.rocketmq.reply.ReplyTimeoutMap
- All Implemented Interfaces:
AutoCloseable
,org.apache.camel.Service
,org.apache.camel.ShutdownableService
,org.apache.camel.StatefulService
,org.apache.camel.SuspendableService
,org.apache.camel.TimeoutMap<String,
ReplyHandler>
public class ReplyTimeoutMap
extends org.apache.camel.support.DefaultTimeoutMap<String,ReplyHandler>
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.camel.TimeoutMap
org.apache.camel.TimeoutMap.Listener<K,
V> -
Field Summary
Fields inherited from class org.apache.camel.support.DefaultTimeoutMap
log
Fields inherited from class org.apache.camel.support.service.BaseService
BUILT, FAILED, INITIALIZED, INITIALIZING, NEW, SHUTDOWN, SHUTTING_DOWN, STARTED, STARTING, status, STOPPED, STOPPING, SUSPENDED, SUSPENDING
-
Constructor Summary
ConstructorsConstructorDescriptionReplyTimeoutMap
(ScheduledExecutorService executor, long requestMapPollTimeMillis) -
Method Summary
Modifier and TypeMethodDescriptionput
(String key, ReplyHandler value, long timeoutMillis) putIfAbsent
(String key, ReplyHandler value, long timeoutMillis) Methods inherited from class org.apache.camel.support.DefaultTimeoutMap
addListener, currentTime, doStart, doStop, get, getExecutor, getPurgePollTime, isValidForEviction, purge, remove, schedulePoll, size, updateExpireTime
Methods inherited from class org.apache.camel.support.service.BaseService
build, doBuild, doFail, doInit, doLifecycleChange, doResume, doShutdown, doSuspend, fail, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspend
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.camel.Service
build, close, init, start, stop
Methods inherited from interface org.apache.camel.ShutdownableService
shutdown
Methods inherited from interface org.apache.camel.StatefulService
getStatus, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isSuspending
Methods inherited from interface org.apache.camel.SuspendableService
isSuspended, resume, suspend
-
Constructor Details
-
ReplyTimeoutMap
-
-
Method Details
-
put
- Specified by:
put
in interfaceorg.apache.camel.TimeoutMap<String,
ReplyHandler> - Overrides:
put
in classorg.apache.camel.support.DefaultTimeoutMap<String,
ReplyHandler>
-
putIfAbsent
- Specified by:
putIfAbsent
in interfaceorg.apache.camel.TimeoutMap<String,
ReplyHandler> - Overrides:
putIfAbsent
in classorg.apache.camel.support.DefaultTimeoutMap<String,
ReplyHandler>
-