com.alibaba.druid.pool.xa
类 DruidXADataSource

java.lang.Object
  继承者 com.alibaba.druid.pool.WrapperAdapter
      继承者 com.alibaba.druid.pool.DruidAbstractDataSource
          继承者 com.alibaba.druid.pool.DruidDataSource
              继承者 com.alibaba.druid.pool.xa.DruidXADataSource
所有已实现的接口:
DruidAbstractDataSourceMBean, DruidDataSourceMBean, ManagedDataSource, DataSourceProxy, Closeable, Serializable, Cloneable, Wrapper, Referenceable, CommonDataSource, ConnectionPoolDataSource, DataSource, XADataSource

public class DruidXADataSource
extends DruidDataSource
implements XADataSource

另请参见:
序列化表格

嵌套类摘要
 
从类 com.alibaba.druid.pool.DruidDataSource 继承的嵌套类/接口
DruidDataSource.CreateConnectionThread, DruidDataSource.DestroyConnectionThread, DruidDataSource.LogStatsThread
 
字段摘要
 
从类 com.alibaba.druid.pool.DruidDataSource 继承的字段
waitNanosLocal
 
从类 com.alibaba.druid.pool.DruidAbstractDataSource 继承的字段
DEFAULT_INITIAL_SIZE, DEFAULT_MAX_ACTIVE_SIZE, DEFAULT_MAX_IDLE, DEFAULT_MAX_WAIT, DEFAULT_MIN_EVICTABLE_IDLE_TIME_MILLIS, DEFAULT_MIN_IDLE, DEFAULT_NUM_TESTS_PER_EVICTION_RUN, DEFAULT_TEST_ON_BORROW, DEFAULT_TEST_ON_RETURN, DEFAULT_TIME_BETWEEN_CONNECT_ERROR_MILLIS, DEFAULT_TIME_BETWEEN_EVICTION_RUNS_MILLIS, DEFAULT_VALIDATION_QUERY, DEFAULT_WHILE_IDLE
 
构造方法摘要
DruidXADataSource()
           
 
方法摘要
 XAConnection getXAConnection()
           
 XAConnection getXAConnection(String user, String password)
           
 
从类 com.alibaba.druid.pool.DruidDataSource 继承的方法
clearStatementCache, clone, cloneDruidDataSource, close, configFromPropety, discardConnection, dump, getActiveCount, getActivePeak, getActivePeakTime, getCloseCount, getConnectCount, getConnectErrorCount, getConnection, getConnection, getConnection, getConnectionDirect, getCreateCount, getDataSourceStat, getDestroyCount, getDiscardCount, getErrorCount, getFilterClassNames, getInitStackTrace, getLock, getLockQueueLength, getNotEmptySignalCount, getNotEmptyWaitCount, getNotEmptyWaitMillis, getNotEmptyWaitNanos, getNotEmptyWaitThreadCount, getNotEmptyWaitThreadPeak, getPooledConnection, getPooledConnection, getPoolingConnectionInfo, getPoolingCount, getPoolingPeak, getPoolingPeakTime, getProperties, getRawDriverMajorVersion, getRawDriverMinorVersion, getRecycleCount, getRecycleErrorCount, getReference, getRemoveAbandonedCount, getResetCount, getSqlStat, getSqlStat, getSqlStatMap, getStatData, getStatDataForMBean, getStatValueAndReset, getVersion, getWaitThreadCount, getWallStatMap, getWallStatValue, handleConnectionException, init, isEnable, isInited, isMbeanRegistered, isResetStatEnable, isUseGloalDataSourceStat, isWrapperFor, logStats, logTransaction, registerMbean, removeAbandoned, resetStat, restart, setConnectProperties, setEnable, setMaxActive, setPoolPreparedStatements, setResetStatEnable, setUseGloalDataSourceStat, shrink, shrink, toString, unregisterMbean, unwrap
 
从类 com.alibaba.druid.pool.DruidAbstractDataSource 继承的方法
addConnectionProperty, addFilters, clearFilters, closePreapredStatement, createConnectionId, createPhysicalConnection, createPhysicalConnection, createResultSetId, createStatementId, createTransactionId, decrementCachedPreparedStatementCount, getActiveConnections, getActiveConnectionStackTrace, getCachedPreparedStatementAccessCount, getCachedPreparedStatementCount, getCachedPreparedStatementDeleteCount, getCachedPreparedStatementHitCount, getCachedPreparedStatementMissCount, getClosedPreparedStatementCount, getCommitCount, getCompositeData, getConnectionErrorRetryAttempts, getConnectionInitSqls, getConnectProperties, getCreatedTime, getCreateErrorCount, getCreateTimespanMillis, getCreateTimespanNano, getDbType, getDefaultCatalog, getDefaultReadOnly, getDefaultTransactionIsolation, getDriver, getDriverClassLoader, getDriverClassName, getDriverMajorVersion, getDriverMinorVersion, getDupCloseCount, getExceptionSorter, getExceptionSorterClassName, getExecuteCount, getFilterClasses, getID, getInitialSize, getLastCreateError, getLastCreateErrorTime, getLastCreateErrorTimeMillis, getLastError, getLastErrorTime, getLastErrorTimeMillis, getLoginTimeout, getLogWriter, getMaxActive, getMaxIdle, getMaxOpenPreparedStatements, getMaxPoolPreparedStatementPerConnectionSize, getMaxWait, getMaxWaitThreadCount, getMinEvictableIdleTimeMillis, getMinIdle, getName, getNumTestsPerEvictionRun, getObjectName, getParentLogger, getPassword, getPasswordCallback, getPreparedStatementCount, getProxyFilters, getQueryTimeout, getRawDriver, getRawJdbcUrl, getRemoveAbandonedTimeout, getRemoveAbandonedTimeoutMillis, getRollbackCount, getStartTransactionCount, getStatLogger, getTimeBetweenConnectErrorMillis, getTimeBetweenEvictionRunsMillis, getTimeBetweenLogStatsMillis, getTransactionHistogram, getTransactionHistogramRanges, getTransactionHistogramValues, getTransactionQueryTimeout, getTransactionThresholdMillis, getUrl, getUserCallback, getUsername, getValidationQuery, getValidationQueryTimeout, getValidConnectionChecker, getValidConnectionCheckerClassName, incrementCachedPreparedStatementCount, incrementCachedPreparedStatementDeleteCount, incrementCachedPreparedStatementHitCount, incrementCachedPreparedStatementMissCount, incrementClosedPreparedStatementCount, incrementCommitCount, incrementDupCloseCount, incrementExecuteCount, incrementPreparedStatementCount, incrementRollbackCount, incrementStartTransactionCount, initPhysicalConnection, isAccessToUnderlyingConnectionAllowed, isBreakAfterAcquireFailure, isClearFiltersEnable, isDefaultAutoCommit, isDupCloseLogEnable, isLogAbandoned, isOracle, isPoolPreparedStatements, isRemoveAbandoned, isSharePreparedStatements, isTestOnBorrow, isTestOnReturn, isTestWhileIdle, isUseLocalSessionState, isUseOracleImplicitCache, isUseUnfairLock, setAccessToUnderlyingConnectionAllowed, setBreakAfterAcquireFailure, setClearFiltersEnable, setConnectionErrorRetryAttempts, setConnectionInitSqls, setConnectionProperties, setDbType, setDefaultAutoCommit, setDefaultCatalog, setDefaultReadOnly, setDefaultTransactionIsolation, setDriver, setDriverClassLoader, setDriverClassName, setDupCloseLogEnable, setExceptionSorter, setExceptionSorter, setExceptionSorterClassName, setFilters, setInitialSize, setLogAbandoned, setLoginTimeout, setLogWriter, setMaxIdle, setMaxOpenPreparedStatements, setMaxPoolPreparedStatementPerConnectionSize, setMaxWait, setMaxWaitThreadCount, setMinEvictableIdleTimeMillis, setMinIdle, setName, setNumTestsPerEvictionRun, setObjectName, setOracle, setPassword, setPasswordCallback, setPasswordCallbackClassName, setProxyFilters, setQueryTimeout, setRemoveAbandoned, setRemoveAbandonedTimeout, setRemoveAbandonedTimeoutMillis, setSharePreparedStatements, setStatLogger, setStatLoggerClassName, setTestOnBorrow, setTestOnReturn, setTestWhileIdle, setTimeBetweenConnectErrorMillis, setTimeBetweenEvictionRunsMillis, setTimeBetweenLogStatsMillis, setTransactionQueryTimeout, setTransactionThresholdMillis, setUrl, setUseLocalSessionState, setUseOracleImplicitCache, setUserCallback, setUsername, setUseUnfairLock, setValidationQuery, setValidationQueryTimeout, setValidConnectionChecker, setValidConnectionCheckerClassName, validateConnection
 
从类 java.lang.Object 继承的方法
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
从接口 javax.sql.CommonDataSource 继承的方法
getLoginTimeout, getLogWriter, setLoginTimeout, setLogWriter
 
从接口 com.alibaba.druid.pool.DruidDataSourceMBean 继承的方法
getObjectName, getTimeBetweenLogStatsMillis, setConnectionProperties, setStatLoggerClassName, setTimeBetweenLogStatsMillis
 
从接口 com.alibaba.druid.pool.DruidAbstractDataSourceMBean 继承的方法
getActiveConnectionStackTrace, getCachedPreparedStatementAccessCount, getCachedPreparedStatementCount, getCachedPreparedStatementDeleteCount, getCachedPreparedStatementHitCount, getCachedPreparedStatementMissCount, getClosedPreparedStatementCount, getCommitCount, getConnectionErrorRetryAttempts, getCreatedTime, getCreateErrorCount, getCreateTimespanMillis, getDbType, getDefaultCatalog, getDefaultReadOnly, getDefaultTransactionIsolation, getDriverClassName, getDriverMajorVersion, getDriverMinorVersion, getDupCloseCount, getExceptionSorterClassName, getInitialSize, getLoginTimeout, getMaxActive, getMaxIdle, getMaxOpenPreparedStatements, getMaxPoolPreparedStatementPerConnectionSize, getMaxWait, getMaxWaitThreadCount, getMinEvictableIdleTimeMillis, getMinIdle, getName, getPreparedStatementCount, getQueryTimeout, getRemoveAbandonedTimeoutMillis, getRollbackCount, getStartTransactionCount, getTimeBetweenConnectErrorMillis, getTimeBetweenEvictionRunsMillis, getTransactionHistogramValues, getTransactionQueryTimeout, getTransactionThresholdMillis, getUrl, getUsername, getValidationQuery, getValidationQueryTimeout, getValidConnectionCheckerClassName, isBreakAfterAcquireFailure, isDefaultAutoCommit, isLogAbandoned, isPoolPreparedStatements, isRemoveAbandoned, isSharePreparedStatements, isTestOnBorrow, isTestOnReturn, isTestWhileIdle, isUseOracleImplicitCache, setLogAbandoned, setMaxPoolPreparedStatementPerConnectionSize, setTestOnBorrow, setTestWhileIdle, setTransactionThresholdMillis, setUseOracleImplicitCache
 
从接口 com.alibaba.druid.pool.ManagedDataSource 继承的方法
getObjectName, setObjectName
 

构造方法详细信息

DruidXADataSource

public DruidXADataSource()
方法详细信息

getXAConnection

public XAConnection getXAConnection()
                             throws SQLException
指定者:
接口 XADataSource 中的 getXAConnection
抛出:
SQLException

getXAConnection

public XAConnection getXAConnection(String user,
                                    String password)
                             throws SQLException
指定者:
接口 XADataSource 中的 getXAConnection
抛出:
SQLException


Copyright © 2013 Alibaba Group. All Rights Reserved.