Package org.hibernate.internal
Class ConnectionObserverStatsBridge
- java.lang.Object
-
- org.hibernate.internal.ConnectionObserverStatsBridge
-
- All Implemented Interfaces:
Serializable
,ConnectionObserver
public class ConnectionObserverStatsBridge extends Object implements ConnectionObserver, Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ConnectionObserverStatsBridge(SessionFactoryImplementor sessionFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
logicalConnectionClosed()
The logical connection was closed.void
physicalConnectionObtained(Connection connection)
A physical connection was obtained.void
physicalConnectionReleased()
A physical connection was released.void
statementPrepared()
Notification of a statement being prepared
-
-
-
Constructor Detail
-
ConnectionObserverStatsBridge
public ConnectionObserverStatsBridge(SessionFactoryImplementor sessionFactory)
-
-
Method Detail
-
physicalConnectionObtained
public void physicalConnectionObtained(Connection connection)
Description copied from interface:ConnectionObserver
A physical connection was obtained.- Specified by:
physicalConnectionObtained
in interfaceConnectionObserver
- Parameters:
connection
- The physical connection just obtained.
-
physicalConnectionReleased
public void physicalConnectionReleased()
Description copied from interface:ConnectionObserver
A physical connection was released.- Specified by:
physicalConnectionReleased
in interfaceConnectionObserver
-
logicalConnectionClosed
public void logicalConnectionClosed()
Description copied from interface:ConnectionObserver
The logical connection was closed.- Specified by:
logicalConnectionClosed
in interfaceConnectionObserver
-
statementPrepared
public void statementPrepared()
Description copied from interface:ConnectionObserver
Notification of a statement being prepared- Specified by:
statementPrepared
in interfaceConnectionObserver
-
-