static class UnpooledDataSource.ConnectionProxy extends Object implements InvocationHandler
| 限定符和类型 | 字段和说明 |
|---|---|
private static String |
CLOSE |
private static Class<?>[] |
IFACES |
private Connection |
proxyConnection |
private Connection |
realConnection |
private Semaphore |
semaphore |
| 构造器和说明 |
|---|
ConnectionProxy(Connection realConnection,
Semaphore semaphore) |
private static final Class<?>[] IFACES
private final Connection realConnection
private final Connection proxyConnection
private final Semaphore semaphore
ConnectionProxy(Connection realConnection, Semaphore semaphore)
public Connection getRealConnection()
public Connection getProxyConnection()
Copyright © 2020. All rights reserved.