PoolingDataSource (cayenne-doc: Cayenne Documentation 5.0-M2 API)
Description: declaration: package: org.apache.cayenne.datasource, interface: PoolingDataSource

# 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 AutoCloseable

  `close`

  ### Methods inherited from interface CommonDataSource

  `createShardingKeyBuilder, getParentLogger`

  ### Methods inherited from interface DataSource

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

  ### Methods inherited from interface Wrapper

  `isWrapperFor, unwrap`