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