public class ConnectionObserverStatsBridge extends Object implements ConnectionObserver, Serializable
| Constructor and Description |
|---|
ConnectionObserverStatsBridge(SessionFactoryImplementor sessionFactory) |
| Modifier and Type | Method and 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
|
public ConnectionObserverStatsBridge(SessionFactoryImplementor sessionFactory)
public void physicalConnectionObtained(Connection connection)
ConnectionObserverphysicalConnectionObtained in interface ConnectionObserverconnection - The physical connection just obtained.public void physicalConnectionReleased()
ConnectionObserverphysicalConnectionReleased in interface ConnectionObserverpublic void logicalConnectionClosed()
ConnectionObserverlogicalConnectionClosed in interface ConnectionObserverpublic void statementPrepared()
ConnectionObserverstatementPrepared in interface ConnectionObserverCopyright © 2018 JBoss by Red Hat. All rights reserved.