public class InternalPoolConnection extends SingleStorePoolConnection
| Constructor and Description |
|---|
InternalPoolConnection(Connection connection)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
AtomicLong |
getLastUsed()
Indicate last time this pool connection has been used.
|
boolean |
isFailed() |
void |
lastUsedToNow()
Set last poolConnection use to now.
|
void |
setFailed(boolean failed) |
addConnectionEventListener, addStatementEventListener, close, fireConnectionClosed, fireConnectionErrorOccurred, fireStatementClosed, fireStatementErrorOccurred, getConnection, getXAResource, removeConnectionEventListener, removeStatementEventListener, xidToStringpublic InternalPoolConnection(Connection connection)
connection - connection to retrieve connection optionspublic AtomicLong getLastUsed()
public void lastUsedToNow()
public boolean isFailed()
public void setFailed(boolean failed)
Copyright © 2023 SingleStore. All rights reserved.