接口 ConnectionObserver
-
- 所有已知子接口:
NonDurableConnectionObserver
public interface ConnectionObserverAn observer of logical connection events.- 作者:
- Steve Ebersole
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 voidlogicalConnectionClosed()The logical connection was closed.voidphysicalConnectionObtained(Connection connection)A physical connection was obtained.voidphysicalConnectionReleased()A physical connection was released.voidstatementPrepared()Notification of a statement being prepared
-
-
-
方法详细资料
-
physicalConnectionObtained
void physicalConnectionObtained(Connection connection)
A physical connection was obtained.- 参数:
connection- The physical connection just obtained.
-
physicalConnectionReleased
void physicalConnectionReleased()
A physical connection was released.
-
logicalConnectionClosed
void logicalConnectionClosed()
The logical connection was closed.
-
statementPrepared
void statementPrepared()
Notification of a statement being prepared
-
-