Package org.eclipse.rdf4j.spring.pool
Class PooledRepositoryConnectionFactory
java.lang.Object
org.eclipse.rdf4j.spring.pool.PooledRepositoryConnectionFactory
- All Implemented Interfaces:
RepositoryConnectionFactory
,org.springframework.beans.factory.DisposableBean
public class PooledRepositoryConnectionFactory
extends Object
implements org.springframework.beans.factory.DisposableBean, RepositoryConnectionFactory
Uses the delegate factory to actually obtain connections and provides these connections, managing an internal pool.
- Since:
- 4.0.0
- Author:
- Florian Kleedorfer
-
Constructor Summary
ConstructorDescriptionPooledRepositoryConnectionFactory
(RepositoryConnectionFactory delegateFactory) PooledRepositoryConnectionFactory
(RepositoryConnectionFactory delegateFactory, org.apache.commons.pool2.impl.GenericObjectPoolConfig<RepositoryConnection> config) -
Method Summary
-
Constructor Details
-
PooledRepositoryConnectionFactory
public PooledRepositoryConnectionFactory(RepositoryConnectionFactory delegateFactory, org.apache.commons.pool2.impl.GenericObjectPoolConfig<RepositoryConnection> config) -
PooledRepositoryConnectionFactory
-
-
Method Details
-
destroy
-
getConnection
- Specified by:
getConnection
in interfaceRepositoryConnectionFactory
-