Package org.apache.cayenne.datasource

# Interface PoolingDataSource

All Superinterfaces:
  `AutoCloseable`, `CommonDataSource`, `DataSource`, `Wrapper`

All Known Implementing Classes:
  `ManagedPoolingDataSource`, `UnmanagedPoolingDataSource`

public interface PoolingDataSource extends DataSource, AutoCloseable
A `DataSource` that pools connections and requires to be explicitly closed.

Since:
  4.0

- ## Method Summary

  ### Methods inherited from interface java.lang.AutoCloseable

  `close`

  ### Methods inherited from interface javax.sql.CommonDataSource

  `createShardingKeyBuilder, getParentLogger`

  ### Methods inherited from interface javax.sql.DataSource

  `createConnectionBuilder, getConnection, getConnection, getLoginTimeout, getLogWriter, setLoginTimeout, setLogWriter`

  ### Methods inherited from interface java.sql.Wrapper

  `isWrapperFor, unwrap`