List of usage examples for org.apache.commons.pool2.impl GenericObjectPool subclass-usage
From source file org.bimserver.renderengine.RenderEnginePool.java
public class RenderEnginePool extends GenericObjectPool<RenderEngine> { private static final Logger LOGGER = LoggerFactory.getLogger(RenderEnginePool.class); // private final Queue<RenderEngine> available; // private final Set<RenderEngine> busy; // private final Queue<CountDownLatch> waiting = new ArrayBlockingQueue<>(1000); // private final Set<RenderEngineLease> leases = new HashSet<>();
From source file org.eclipse.kapua.broker.core.pool.JmsAssistantProducerPool.java
/**
* This class is needed by {@link org.eclipse.kapua.broker.core.plugin.KapuaSecurityBrokerFilter} to handle a vm connection.<BR>
* Indeed this bundle is instantiated during the broker startup then if {@link org.eclipse.kapua.broker.core.plugin.KapuaSecurityBrokerFilter} try to instantiate a connection receive an error from the
* broker. (the vm factory couldn't
* reach the broker)<BR>
* Then this class is needed to instantiate only a connection to be useful for the filter when it need
From source file org.eclipse.kapua.transport.mqtt.pooling.MqttClientPool.java
/**
* Client pool for {@link MqttClient} objects.
* <p>
* This serves to optimize communication at the transport level of Kapua.
* Client borrowed from this pool are already connected and ready to publish and subscribe.
* </p>
From source file org.hashtrees.manager.HashTreesClientPool.java
class HashTreesClientPool extends GenericObjectPool<HashTreesSyncInterface.Client> { private static final GenericObjectPoolConfig POOL_CONFIG; static { POOL_CONFIG = new GenericObjectPoolConfig();
From source file org.wso2.carbon.apimgt.ballerina.threatprotection.pool.AnalyzerPool.java
/** * Pool class for threat analyzer objects * * @param <T> Type of the pooled object */ public class AnalyzerPool<T> extends GenericObjectPool<T> {
From source file org.wso2.carbon.apimgt.gateway.threatprotection.pool.AnalyzerPool.java
/** * Pool class for threat analyzer objects * * @param <T> Type of the pooled object */ public class AnalyzerPool<T> extends GenericObjectPool<T> {
From source file pool.JmxPool.java
/**
* This is the pool to keep the JMX connector instances.
* @author asharma
*
* @param <Q>
*/