- fromDataSource
Creates a new ConnectionInformation instance for a Connection which has been
obtained via a CommonDa
- getConnection
Returns a reference to the Connection
- getDataSource
Returns the #dataSource which created the #connectionor null if it wasn't
created via a CommonDataSo
- getTimeToGetConnectionNs
Returns the time it took to obtain the connection in nanoseconds
- <init>
- fromDriver
Creates a new ConnectionInformation instance for a Connection which has been
obtained via a Driver
- fromPooledConnection
Creates a new ConnectionInformation instance for a Connection which has been
obtained via a PooledCo
- getUrl
If the connection was created by calling Driver#connect(String,Properties),
returns the #url which w
- setConnection
- setTimeToGetConnectionNs
- setUrl
- fromTestConnection
This method should only be used in test scenarios