Class ReplyTimeoutMap

  • All Implemented Interfaces:
    java.lang.AutoCloseable, org.apache.camel.Service, org.apache.camel.ShutdownableService, org.apache.camel.StatefulService, org.apache.camel.SuspendableService, org.apache.camel.TimeoutMap<java.lang.String,​ReplyHandler>

    public class ReplyTimeoutMap
    extends org.apache.camel.support.DefaultTimeoutMap<java.lang.String,​ReplyHandler>
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.apache.camel.TimeoutMap

        org.apache.camel.TimeoutMap.Listener<K extends java.lang.Object,​V extends java.lang.Object>
    • Field Summary

      • Fields inherited from class org.apache.camel.support.DefaultTimeoutMap

        log
      • Fields inherited from class org.apache.camel.support.service.BaseService

        BUILDED, FAILED, INITIALIZED, INITIALIZING, NEW, SHUTDOWN, SHUTTINGDOWN, STARTED, STARTING, status, STOPPED, STOPPING, SUSPENDED, SUSPENDING
    • Constructor Summary

      Constructors 
      Constructor Description
      ReplyTimeoutMap​(java.util.concurrent.ScheduledExecutorService executor, long requestMapPollTimeMillis)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      ReplyHandler put​(java.lang.String key, ReplyHandler value, long timeoutMillis)  
      ReplyHandler putIfAbsent​(java.lang.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 Detail

      • ReplyTimeoutMap

        public ReplyTimeoutMap​(java.util.concurrent.ScheduledExecutorService executor,
                               long requestMapPollTimeMillis)
    • Method Detail

      • put

        public ReplyHandler put​(java.lang.String key,
                                ReplyHandler value,
                                long timeoutMillis)
        Specified by:
        put in interface org.apache.camel.TimeoutMap<java.lang.String,​ReplyHandler>
        Overrides:
        put in class org.apache.camel.support.DefaultTimeoutMap<java.lang.String,​ReplyHandler>
      • putIfAbsent

        public ReplyHandler putIfAbsent​(java.lang.String key,
                                        ReplyHandler value,
                                        long timeoutMillis)
        Specified by:
        putIfAbsent in interface org.apache.camel.TimeoutMap<java.lang.String,​ReplyHandler>
        Overrides:
        putIfAbsent in class org.apache.camel.support.DefaultTimeoutMap<java.lang.String,​ReplyHandler>