public static interface ConnectionProvider.ConnectionMetadata
Modifier and Type | Method and Description |
---|---|
int |
acquireCount()
Returns the number of times the connection has been acquired from the pool.
|
long |
allocationTimestamp()
Returns a timestamp that denotes the order in which the connection was created/allocated, to millisecond
precision.
|
long |
idleTime()
Returns the time in ms that the connection has been idle.
|
long |
lifeTime()
Returns the age of the connection in ms.
|
long |
releaseTimestamp()
Returns a timestamp that denotes the order in which the connection was last released, to millisecond
precision.
|
int acquireCount()
long idleTime()
long lifeTime()
long releaseTimestamp()
long allocationTimestamp()