org.apache.camel.impl
Class DefaultProducerServicePool
java.lang.Object
org.apache.camel.impl.ServiceSupport
org.apache.camel.impl.DefaultServicePool<Endpoint,Producer>
org.apache.camel.impl.DefaultProducerServicePool
- All Implemented Interfaces:
- Service, ServicePool<Endpoint,Producer>
public class DefaultProducerServicePool
- extends DefaultServicePool<Endpoint,Producer>
A service pool for Producer
.
For instance camel-mina and camel-ftp leverages this to allow a pool of producers so we
can support concurrent producers in a thread safe manner.
- Version:
- $Revision: 779038 $
Method Summary |
int |
size()
|
Methods inherited from class org.apache.camel.impl.ServiceSupport |
addChildService, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, removeChildService, start, stop |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultProducerServicePool
public DefaultProducerServicePool(int capacity)
size
public int size()
Copyright © 2009 Apache Software Foundation. All Rights Reserved.