public class BoneCPConnectionProvider extends Object implements ConnectionProvider
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_MAX_CONNECTIONS_PER_PARTITION |
static int |
DEFAULT_MIN_CONNECTIONS_PER_PARTITION |
static int |
DEFAULT_PARTITION_COUNT |
public static final int DEFAULT_MIN_CONNECTIONS_PER_PARTITION
public static final int DEFAULT_MAX_CONNECTIONS_PER_PARTITION
public static final int DEFAULT_PARTITION_COUNT
public BoneCPConnectionProvider(String connectionUrl, String username, String password, Map<String,String> providerAttributes) throws SQLException
SQLExceptionpublic Connection getConnection() throws SQLException
getConnection in interface ConnectionProviderSQLExceptionpublic void close()
throws SQLException
close in interface ConnectionProviderSQLExceptionCopyright © 2006–2017 The Apache Software Foundation. All rights reserved.