If this object represents a connection pool managed directly by Slick, close it.
If this object represents a connection pool managed directly by Slick, close it. Otherwise no action is taken.
Create a new Connection or get one from the pool
If this object represents a connection pool managed directly by Slick, return the maximum pool size Otherwise return None.
If this object represents a connection pool managed directly by Slick, return the maximum pool size Otherwise return None. The AsyncExecutor uses this to make sure to not schedule any more work (that requires a connection) when all pooled JDBC connections are in use.
A
JdbcDataSource
provides a way to create aConnection
object for a database. It is similar to ajavax.sql.DataSource
but simpler. Unlike JdbcBackend.DatabaseDef it is not a part of the backend cake. This trait defines the SPI for 3rd-party connection pool support.