@Deprecated public class SharedPollingConsumerServicePool extends DefaultPollingConsumerServicePool implements ShutdownableService, StaticService, NonManagedService
DefaultPollingConsumerServicePool
which is used by
CamelContext
by default.capacity, log, pool
shutdown, shuttingdown, started, starting, stopped, stopping, suspended, suspending
Constructor and Description |
---|
SharedPollingConsumerServicePool()
Deprecated.
|
SharedPollingConsumerServicePool(int capacity)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected void |
doShutdown()
Deprecated.
Implementations override this method to perform customized shutdown.
|
protected void |
doStop()
Deprecated.
Implementations override this method to support customized start/stop.
|
acquire, addAndAcquire, doStart, getCapacity, purge, release, setCapacity, size
doResume, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspend
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
shutdown
public SharedPollingConsumerServicePool()
public SharedPollingConsumerServicePool(int capacity)
protected void doStop() throws Exception
ServiceSupport
ServiceSupport.doStop()
method when
the service is being stopped. This method will also be invoked
if the service is still in uninitialized state (eg has not
been started). The method is always called to allow the service
to do custom logic when the service is being stopped, such as when
CamelContext
is shutting down.doStop
in class DefaultServicePool<Endpoint,PollingConsumer>
Exception
ServiceSupport.doStart()
protected void doShutdown() throws Exception
ServiceSupport
doShutdown
in class ServiceSupport
Exception
Apache Camel