public final class ProxyFactory extends Object
| Modifier and Type | Method and Description |
|---|---|
static IHikariConnectionProxy |
getProxyConnection(HikariPool pool,
Connection connection,
long maxLifeTime,
int defaultIsolationLevel,
boolean defaultAutoCommit,
boolean defaultIReadOnly,
String defaultCatalog)
Create a proxy for the specified
Connection instance. |
public static IHikariConnectionProxy getProxyConnection(HikariPool pool, Connection connection, long maxLifeTime, int defaultIsolationLevel, boolean defaultAutoCommit, boolean defaultIReadOnly, String defaultCatalog)
Connection instance.pool - the HikariPool that will own this proxyconnection - the Connection that will be wrapped by this proxymaxLifeTime - the lifetime of the connectiondefaultIsolationLevel - the default transaction isolation level of the underlying ConnectiondefaultAutoCommit - the default auto-commit state of the underlying ConnectiondefaultIReadOnly - the default readOnly state of the underlying ConnectiondefaultCatalog - the default catalog of the underlying ConnectionConnectionCopyright © 2014 Zaxxer.com. All rights reserved.