public class ConnectionObserverAdapter extends Object implements ConnectionObserver
A no-op adapter for ConnectionObserver.
| Constructor and Description |
|---|
ConnectionObserverAdapter() |
| 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 void physicalConnectionObtained(Connection connection)
ConnectionObserverA physical connection was obtained.
physicalConnectionObtained in interface ConnectionObserverconnection - The physical connection just obtained.public void physicalConnectionReleased()
ConnectionObserverA physical connection was released.
physicalConnectionReleased in interface ConnectionObserverpublic void logicalConnectionClosed()
ConnectionObserverThe logical connection was closed.
logicalConnectionClosed in interface ConnectionObserverpublic void statementPrepared()
ConnectionObserverNotification of a statement being prepared
statementPrepared in interface ConnectionObserverCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.