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()
ConnectionProvider
method must be idempotent.
prepare
in interface ConnectionProvider
public Connection getConnection()
ConnectionProvider
Get connection.
getConnection
in interface ConnectionProvider
public void cleanup()
ConnectionProvider
called once when the system is shutting down, should be idempotent.
cleanup
in interface ConnectionProvider
Copyright © 2022 The Apache Software Foundation. All rights reserved.