public class ProxyDataSourceRuntimeImpl extends AbstractDataSourceRuntimeImpl implements JDBCProxyDataSourceRuntimeMBean
Modifier and Type | Field and Description |
---|---|
private javax.sql.DataSource |
ds |
nds
databaseProductName, databaseProductVersion, driverName, driverVersion, group, lastTask, needMetaData, pool, PROGRESS_FAILED, PROGRESS_PROCESSING, PROGRESS_SUCCESS
descriptor, name, parent, registered, type
ACTIVATED, NEW, PREPARED, UNPREPARED, UPDATE_PENDING
Constructor and Description |
---|
ProxyDataSourceRuntimeImpl(javax.sql.DataSource ds,
java.lang.String beanName,
RuntimeMBean parent,
RuntimeMBean restParent,
DescriptorBean dsBean) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
testPool()
Tests the connection pool in the data source by reserving and releasing
a connection from it.
|
addWorkManagerRuntime, clearStatementCache, dumpPool, dumpPoolProfile, forceShutdown, forceSuspend, getActiveConnectionsAverageCount, getActiveConnectionsCurrentCount, getActiveConnectionsHighCount, getConnectionDelayTime, getConnectionsTotalCount, getCurrCapacity, getCurrCapacityHighCount, getDeploymentState, getFailedReserveRequestCount, getFailuresToReconnectCount, getHighestNumAvailable, getHighestNumUnavailable, getJDBCDriverRuntime, getLastTask, getLeakedConnectionCount, getModuleId, getNumAvailable, getNumUnavailable, getPrepStmtCacheAccessCount, getPrepStmtCacheAddCount, getPrepStmtCacheCurrentSize, getPrepStmtCacheDeleteCount, getPrepStmtCacheHitCount, getPrepStmtCacheMissCount, getProperties, getReserveRequestCount, getState, getVersionJDBCDriver, getWaitingForConnectionCurrentCount, getWaitingForConnectionFailureTotal, getWaitingForConnectionHighCount, getWaitingForConnectionSuccessTotal, getWaitingForConnectionTotal, getWaitSecondsHighCount, getWorkManagerRuntimes, isEnabled, isOperationAllowed, lookupMetaData, poolExists, reset, resume, setDeploymentState, setJDBCDriverRuntime, shrink, shutdown, start, suspend
clearOldTaskRuntimes, getCommitOutcomeRetryTotalCount, getDatabaseProductName, getDatabaseProductVersion, getDriverName, getDriverVersion, getFailedRepurposeCount, getJDBCReplayStatisticsRuntimeMBean, getRepurposeCount, getResolvedAsCommittedTotalCount, getResolvedAsNotCommittedTotalCount, getTasks, getUnresolvedTotalCount, resetStatistics, shutdown, suspend
_createHelper, _postSet, _postSet, _postSet, _postSet, _postSet, addChild, addNotificationListener, addPropertyChangeListener, createChildCopy, getAttribute, getAttributes, getMBeanInfo, getMetaData, getName, getNotificationInfo, getObjectName, getParent, getParentAttribute, getPropertyChangeListeners, getRegistrationManager, getRestParent, getType, invoke, isCachingDisabled, isEditable, isRegistered, pluralize, postDeregister, postRegister, preDeregister, preRegister, register, removeChild, removeNotificationListener, removePropertyChangeListener, setAttribute, setAttributes, setMetaData, setName, setParent, setRestParent, setRuntimeMBeanHelper, setType, unregister
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clearStatementCache, dumpPool, dumpPoolProfile, forceShutdown, forceSuspend, getActiveConnectionsAverageCount, getActiveConnectionsCurrentCount, getActiveConnectionsHighCount, getCommitOutcomeRetryTotalCount, getConnectionDelayTime, getConnectionsTotalCount, getCurrCapacity, getCurrCapacityHighCount, getDatabaseProductName, getDatabaseProductVersion, getDriverName, getDriverVersion, getFailedRepurposeCount, getFailedReserveRequestCount, getFailuresToReconnectCount, getHighestNumAvailable, getHighestNumUnavailable, getJDBCDriverRuntime, getJDBCReplayStatisticsRuntimeMBean, getLastTask, getLeakedConnectionCount, getNumAvailable, getNumUnavailable, getPrepStmtCacheAccessCount, getPrepStmtCacheAddCount, getPrepStmtCacheCurrentSize, getPrepStmtCacheDeleteCount, getPrepStmtCacheHitCount, getPrepStmtCacheMissCount, getProperties, getRepurposeCount, getReserveRequestCount, getResolvedAsCommittedTotalCount, getResolvedAsNotCommittedTotalCount, getState, getTasks, getUnresolvedTotalCount, getVersionJDBCDriver, getWaitingForConnectionCurrentCount, getWaitingForConnectionFailureTotal, getWaitingForConnectionHighCount, getWaitingForConnectionSuccessTotal, getWaitingForConnectionTotal, getWaitSecondsHighCount, isEnabled, isOperationAllowed, poolExists, reset, resetStatistics, resume, setJDBCDriverRuntime, shrink, shutdown, shutdown, start, suspend, suspend
addWorkManagerRuntime, getDeploymentState, getModuleId, getWorkManagerRuntimes, setDeploymentState
addPropertyChangeListener, preDeregister, removePropertyChangeListener
getMBeanInfo, getName, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setName, setParent
getAttribute, getAttributes, invoke, setAttribute, setAttributes
public ProxyDataSourceRuntimeImpl(javax.sql.DataSource ds, java.lang.String beanName, RuntimeMBean parent, RuntimeMBean restParent, DescriptorBean dsBean) throws ManagementException
ManagementException
public java.lang.String testPool()
JDBCDataSourceRuntimeMBean
Tests the connection pool in the data source by reserving and releasing a connection from it.
If the pool configuration attribute TestConnectionsOnReserve is enabled, the acquired connection is also tested as part of the reserve operation.
testPool
in interface JDBCDataSourceRuntimeMBean
testPool
in class AbstractDataSourceRuntimeImpl
weblogic.management.configuration.JDBCConnectionPoolMBean