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
public class EmptyProducerCache extends DefaultProducerCache
-
-
Constructor Summary
Constructors Constructor Description EmptyProducerCache(Object source, org.apache.camel.CamelContext camelContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.camel.AsyncProducer
acquireProducer(org.apache.camel.Endpoint endpoint)
int
getCapacity()
void
releaseProducer(org.apache.camel.Endpoint endpoint, org.apache.camel.AsyncProducer producer)
String
toString()
-
Methods inherited from class org.apache.camel.support.cache.DefaultProducerCache
asyncDispatchExchange, asyncSend, 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
-
-
-
-
Constructor Detail
-
EmptyProducerCache
public EmptyProducerCache(Object source, org.apache.camel.CamelContext camelContext)
-
-
Method Detail
-
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
public String toString()
- Overrides:
toString
in classDefaultProducerCache
-
-