public class InternalPoolConnection extends SingleStorePoolConnection
| Constructor and Description |
|---|
InternalPoolConnection(Connection connection)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ensureValidation()
Reset last used time, to ensure next retrieval will validate connection before borrowing
|
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, removeConnectionEventListener, removeStatementEventListenerpublic InternalPoolConnection(Connection connection)
connection - connection to retrieve connection optionspublic AtomicLong getLastUsed()
public void lastUsedToNow()
public boolean isFailed()
public void setFailed(boolean failed)
public void ensureValidation()
Copyright © 2025 SingleStore. All rights reserved.