public abstract class AbstractDataSourceProxyXA extends BaseDataSourceResource<ConnectionProxyXA>
| 限定符和类型 | 字段和说明 |
|---|---|
protected static String |
DEFAULT_RESOURCE_GROUP_ID |
branchType, dataSource, dbType, driver, resourceGroupId, resourceId| 构造器和说明 |
|---|
AbstractDataSourceProxyXA() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
forceClosePhysicalConnection(XAXid xaXid)
Force close the physical connection kept for XA branch of given XAXid.
|
ConnectionProxyXA |
getConnectionForXAFinish(XAXid xaXid)
Get a ConnectionProxyXA instance for finishing XA branch(XA commit/XA rollback)
|
protected abstract Connection |
getConnectionProxyXA() |
dataSourceCheck, getBranchType, getDbType, getDriver, getLoginTimeout, getLogWriter, getParentLogger, getResourceGroupId, getResourceId, getTargetDataSource, hold, isWrapperFor, lookup, release, setBranchType, setDbType, setDriver, setLoginTimeout, setLogWriter, setResourceGroupId, setResourceId, unwrapclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetConnection, getConnectionpublic ConnectionProxyXA getConnectionForXAFinish(XAXid xaXid) throws SQLException
SQLException - exceptionprotected abstract Connection getConnectionProxyXA() throws SQLException
SQLExceptionpublic void forceClosePhysicalConnection(XAXid xaXid) throws SQLException
xaXid - the given XAXidSQLException - exceptionCopyright © 2020 Seata. All rights reserved.