Package tigase.db

Interface DataSourcePool<T extends DataSource>

All Superinterfaces:
DataSource, Repository, RepositoryPool<T>
All Known Implementing Classes:
DataRepoPool, DataRepositoryPool

public interface DataSourcePool<T extends DataSource> extends RepositoryPool<T>, DataSource
Generic interface for all implementations of a pool of data sources.
It is not required to implement and provide pool implementation. However, if underlying connection driver does not contain internal connection pool and uses single connection to data storage it is highly recommended to provide pooling implementation for data source to improve performance of access to data source.
Created by andrzej on 09.03.2016.