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