Package org.apache.camel.support.cache
Class EmptyProducerCache
java.lang.Object
org.apache.camel.support.service.BaseService
org.apache.camel.support.service.ServiceSupport
org.apache.camel.support.cache.DefaultProducerCache
org.apache.camel.support.cache.EmptyProducerCache
- All Implemented Interfaces:
AutoCloseable
,org.apache.camel.Service
,org.apache.camel.ShutdownableService
,org.apache.camel.spi.ProducerCache
,org.apache.camel.StatefulService
,org.apache.camel.SuspendableService
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.camel.spi.ProducerCache
org.apache.camel.spi.ProducerCache.AsyncProducerCallback
-
Field Summary
Fields inherited from class org.apache.camel.support.service.BaseService
BUILT, FAILED, INITIALIZED, INITIALIZING, lock, NEW, SHUTDOWN, SHUTTING_DOWN, STARTED, STARTING, status, STOPPED, STOPPING, SUSPENDED, SUSPENDING
-
Constructor Summary
ConstructorsConstructorDescriptionEmptyProducerCache
(Object source, org.apache.camel.CamelContext camelContext) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.camel.AsyncProducer
acquireProducer
(org.apache.camel.Endpoint endpoint) int
void
releaseProducer
(org.apache.camel.Endpoint endpoint, org.apache.camel.AsyncProducer producer) toString()
Methods inherited from class org.apache.camel.support.cache.DefaultProducerCache
asyncDispatchExchange, asyncSendExchange, cleanUp, createServicePool, doAsyncSendExchange, doBuild, doInAsyncProducer, doInit, doShutdown, doStart, doStop, getCamelContext, getEndpointUtilizationStatistics, getSource, isEventNotifierEnabled, isExtendedStatistics, purge, send, setEventNotifierEnabled, setExtendedStatistics, size
Methods inherited from class org.apache.camel.support.service.BaseService
build, doFail, doLifecycleChange, doResume, 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, 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
-
EmptyProducerCache
-
-
Method Details
-
acquireProducer
public org.apache.camel.AsyncProducer acquireProducer(org.apache.camel.Endpoint endpoint) - Specified by:
acquireProducer
in interfaceorg.apache.camel.spi.ProducerCache
- Overrides:
acquireProducer
in classDefaultProducerCache
-
releaseProducer
public void releaseProducer(org.apache.camel.Endpoint endpoint, org.apache.camel.AsyncProducer producer) - Specified by:
releaseProducer
in interfaceorg.apache.camel.spi.ProducerCache
- Overrides:
releaseProducer
in classDefaultProducerCache
-
getCapacity
public int getCapacity()- Specified by:
getCapacity
in interfaceorg.apache.camel.spi.ProducerCache
- Overrides:
getCapacity
in classDefaultProducerCache
-
toString
- Overrides:
toString
in classDefaultProducerCache
-