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
prepare
in interface ConnectionProvider
public Connection getConnection()
ConnectionProvider
getConnection
in interface ConnectionProvider
public void cleanup()
ConnectionProvider
cleanup
in interface ConnectionProvider
Copyright © 2023 The Apache Software Foundation. All rights reserved.