public abstract class TakenConnection extends Object
poolEnableConnectionTracking is allowed.| Modifier and Type | Method and Description |
|---|---|
long |
getLastAccessNanoTime()
Returns the nano time when a method was last invoked on this Connection.
|
Throwable |
getLocation()
Returns the stack trace at the moment when the connection was taken.
|
Connection |
getProxyConnection()
Returns the taken proxy Connection.
|
long |
getTakenNanoTime()
Returns the nano time when the Connection was taken.
|
Thread |
getThread()
Returns the thread that has taken this Connection.
|
String |
toString() |
public Connection getProxyConnection()
isClosed() method.public long getTakenNanoTime()
public long getLastAccessNanoTime()
lastAccessNanoTime, i.e., methods such as close(),
isClosed() do not update the lastAccessNanoTime. See
restrictedInvoke() for more details.
A value of 0 indicates that a restricted method was never called on this Connection proxy.public Thread getThread()
public Throwable getLocation()
Copyright © 2013-2019 vibur.org. All Rights Reserved.