public class HikariCPConnectionProvider extends Object implements ConnectionProvider
| Constructor and Description |
|---|
HikariCPConnectionProvider(Map<String,Object> configMap) |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanup()
called once when the system is shutting down, should be idempotent.
|
Connection |
getConnection()
Get connection.
|
void |
prepare()
method must be idempotent.
|
public void prepare()
ConnectionProvidermethod must be idempotent.
prepare in interface ConnectionProviderpublic Connection getConnection()
ConnectionProviderGet connection.
getConnection in interface ConnectionProviderpublic void cleanup()
ConnectionProvidercalled once when the system is shutting down, should be idempotent.
cleanup in interface ConnectionProviderCopyright © 2021 The Apache Software Foundation. All rights reserved.