Package | Description |
---|---|
org.davidmoten.rx.jdbc | |
org.davidmoten.rx.jdbc.internal | |
org.davidmoten.rx.jdbc.pool | |
org.davidmoten.rx.jdbc.pool.internal |
Modifier and Type | Method and Description |
---|---|
static ConnectionProvider |
Util.connectionProvider(javax.sql.DataSource dataSource) |
static ConnectionProvider |
Util.connectionProvider(java.lang.String url,
java.util.Properties properties) |
static ConnectionProvider |
ConnectionProvider.from(java.sql.Connection connection)
Warning: Don't pass one of these as a ConnectionProvider to a pool because
once the pool closes the connection the pool cannot create a new one (the
same closed connection is returned).
|
static ConnectionProvider |
ConnectionProvider.from(java.lang.String url) |
static ConnectionProvider |
ConnectionProvider.from(java.lang.String url,
java.util.Properties properties) |
static ConnectionProvider |
ConnectionProvider.from(java.lang.String url,
java.lang.String username,
java.lang.String password) |
Modifier and Type | Method and Description |
---|---|
static Database |
Database.fromBlocking(ConnectionProvider cp) |
Modifier and Type | Class and Description |
---|---|
class |
SingletonConnectionProvider |
Modifier and Type | Method and Description |
---|---|
NonBlockingConnectionPool.Builder<T> |
NonBlockingConnectionPool.Builder.connectionProvider(ConnectionProvider cp)
Sets the provider of
Connection objects to be used by the pool. |
Constructor and Description |
---|
ConnectionProviderBlockingPool(ConnectionProvider connectionProvider) |
Copyright © 2016–2020. All rights reserved.