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)
ConnectionObserver
physicalConnectionObtained
in interface ConnectionObserver
connection
- The physical connection just obtained.public void physicalConnectionReleased()
ConnectionObserver
physicalConnectionReleased
in interface ConnectionObserver
public void logicalConnectionClosed()
ConnectionObserver
logicalConnectionClosed
in interface ConnectionObserver
public void statementPrepared()
ConnectionObserver
statementPrepared
in interface ConnectionObserver
Copyright © 2020 JBoss by Red Hat. All rights reserved.