public class AtomikosNonXAPooledConnection extends AbstractXPooledConnection<Connection>
| Constructor and Description |
|---|
AtomikosNonXAPooledConnection(Connection wrapped,
ConnectionPoolProperties props,
boolean readOnly) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canBeRecycledForCallingThread() |
protected Connection |
doCreateConnectionProxy() |
void |
doDestroy() |
protected void |
fireOnXPooledConnectionTerminated() |
boolean |
getReadOnly() |
boolean |
isAvailable() |
boolean |
isErroneous() |
protected void |
testUnderlyingConnection() |
String |
toString() |
createConnectionProxy, destroy, getBorrowConnectionTimeout, getCreationTime, getCurrentConnectionProxy, getDefaultIsolationLevel, getLastTimeAcquired, getLastTimeReleased, getTestQuery, markAsBeingAcquiredIfAvailable, maxLifetimeExceeded, registerXPooledConnectionEventListener, unregisterXPooledConnectionEventListener, updateLastTimeReleasedpublic AtomikosNonXAPooledConnection(Connection wrapped, ConnectionPoolProperties props, boolean readOnly)
public void doDestroy()
doDestroy in class AbstractXPooledConnection<Connection>protected Connection doCreateConnectionProxy() throws CreateConnectionException
doCreateConnectionProxy in class AbstractXPooledConnection<Connection>CreateConnectionExceptionprotected void testUnderlyingConnection()
throws CreateConnectionException
testUnderlyingConnection in class AbstractXPooledConnection<Connection>CreateConnectionExceptionpublic boolean isAvailable()
public boolean isErroneous()
protected void fireOnXPooledConnectionTerminated()
fireOnXPooledConnectionTerminated in class AbstractXPooledConnection<Connection>public boolean getReadOnly()
public boolean canBeRecycledForCallingThread()
canBeRecycledForCallingThread in interface XPooledConnection<Connection>canBeRecycledForCallingThread in class AbstractXPooledConnection<Connection>Copyright © 2023. All rights reserved.