public class UCPDataSourceRuntimeImpl extends AbstractDataSourceRuntimeImpl implements JDBCUCPDataSourceRuntimeMBean
Modifier and Type | Field and Description |
---|---|
(package private) java.lang.String |
driver |
(package private) weblogic.jdbc.common.rac.internal.UCPRuntime |
runtime |
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 |
---|
UCPDataSourceRuntimeImpl(javax.sql.DataSource ds,
java.lang.String beanName,
RuntimeMBean parent,
RuntimeMBean restParent,
DescriptorBean dsBean) |
Modifier and Type | Method and Description |
---|---|
int |
getActiveConnectionsAverageCount()
Average number of active connections in this instance of the data source.
|
int |
getActiveConnectionsCurrentCount()
Returns the current total active connections.
|
int |
getConnectionsTotalCount()
Returns the total number of JDBC connections in this
DataSourceRuntimeMBean since the pool is instantiated.
|
int |
getCurrCapacity()
The current count of JDBC connections in the connection pool in the data source.
|
int |
getCurrCapacityHighCount()
Highest number of database connections available or in use (current capacity)
in this instance of the data source since the data source was deployed.
|
int |
getNumAvailable()
The number of database connections that are currently idle and available to be
used by applications in this instance of the data source.
|
int |
getNumUnavailable()
The number of connections currently in use by applications
or being tested in this instance of the data source.
|
long |
getReserveRequestCount()
The cumulative, running count of requests for a connection from this data source.
|
java.lang.String |
getVersionJDBCDriver()
Returns the version of the JDBC driver, in the format of
concatenating the Driver class name with 'major: XX, minor: YY'.
|
long |
getWaitingForConnectionSuccessTotal()
The cumulative, running count of requests for a connection from this data source
that had to wait before getting a connection and eventually succeeded in getting a connection.
|
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, getActiveConnectionsHighCount, getConnectionDelayTime, getDeploymentState, getFailedReserveRequestCount, getFailuresToReconnectCount, getHighestNumAvailable, getHighestNumUnavailable, getJDBCDriverRuntime, getLastTask, getLeakedConnectionCount, getModuleId, getPrepStmtCacheAccessCount, getPrepStmtCacheAddCount, getPrepStmtCacheCurrentSize, getPrepStmtCacheDeleteCount, getPrepStmtCacheHitCount, getPrepStmtCacheMissCount, getProperties, getState, getWaitingForConnectionCurrentCount, getWaitingForConnectionFailureTotal, getWaitingForConnectionHighCount, 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, getActiveConnectionsHighCount, getCommitOutcomeRetryTotalCount, getConnectionDelayTime, getDatabaseProductName, getDatabaseProductVersion, getDriverName, getDriverVersion, getFailedRepurposeCount, getFailedReserveRequestCount, getFailuresToReconnectCount, getHighestNumAvailable, getHighestNumUnavailable, getJDBCDriverRuntime, getJDBCReplayStatisticsRuntimeMBean, getLastTask, getLeakedConnectionCount, getPrepStmtCacheAccessCount, getPrepStmtCacheAddCount, getPrepStmtCacheCurrentSize, getPrepStmtCacheDeleteCount, getPrepStmtCacheHitCount, getPrepStmtCacheMissCount, getProperties, getRepurposeCount, getResolvedAsCommittedTotalCount, getResolvedAsNotCommittedTotalCount, getState, getTasks, getUnresolvedTotalCount, getWaitingForConnectionCurrentCount, getWaitingForConnectionFailureTotal, getWaitingForConnectionHighCount, 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
weblogic.jdbc.common.rac.internal.UCPRuntime runtime
java.lang.String driver
public UCPDataSourceRuntimeImpl(javax.sql.DataSource ds, java.lang.String beanName, RuntimeMBean parent, RuntimeMBean restParent, DescriptorBean dsBean) throws ManagementException
ManagementException
public java.lang.String getVersionJDBCDriver()
DataSourceRuntimeMBeanImpl
getVersionJDBCDriver
in interface JDBCDataSourceRuntimeMBean
getVersionJDBCDriver
in class AbstractDataSourceRuntimeImpl
public int getCurrCapacity()
JDBCDataSourceRuntimeMBean
The current count of JDBC connections in the connection pool in the data source.
getCurrCapacity
in interface JDBCDataSourceRuntimeMBean
getCurrCapacity
in class AbstractDataSourceRuntimeImpl
public int getActiveConnectionsCurrentCount()
DataSourceRuntimeMBeanImpl
getActiveConnectionsCurrentCount
in interface JDBCDataSourceRuntimeMBean
getActiveConnectionsCurrentCount
in class AbstractDataSourceRuntimeImpl
public int getNumAvailable()
JDBCDataSourceRuntimeMBean
The number of database connections that are currently idle and available to be used by applications in this instance of the data source.
getNumAvailable
in interface JDBCDataSourceRuntimeMBean
getNumAvailable
in class AbstractDataSourceRuntimeImpl
public long getReserveRequestCount()
JDBCDataSourceRuntimeMBean
The cumulative, running count of requests for a connection from this data source.
getReserveRequestCount
in interface JDBCDataSourceRuntimeMBean
getReserveRequestCount
in class AbstractDataSourceRuntimeImpl
public int getActiveConnectionsAverageCount()
JDBCDataSourceRuntimeMBean
Average number of active connections in this instance of the data source.
Active connections are connections in use by an application. This value is only valid if the resource is configured to allow shrinking.
getActiveConnectionsAverageCount
in interface JDBCDataSourceRuntimeMBean
getActiveConnectionsAverageCount
in class AbstractDataSourceRuntimeImpl
public int getCurrCapacityHighCount()
JDBCDataSourceRuntimeMBean
Highest number of database connections available or in use (current capacity) in this instance of the data source since the data source was deployed.
getCurrCapacityHighCount
in interface JDBCDataSourceRuntimeMBean
getCurrCapacityHighCount
in class AbstractDataSourceRuntimeImpl
public int getConnectionsTotalCount()
DataSourceRuntimeMBeanImpl
getConnectionsTotalCount
in interface JDBCDataSourceRuntimeMBean
getConnectionsTotalCount
in class AbstractDataSourceRuntimeImpl
public int getNumUnavailable()
JDBCDataSourceRuntimeMBean
The number of connections currently in use by applications or being tested in this instance of the data source.
getNumUnavailable
in interface JDBCDataSourceRuntimeMBean
getNumUnavailable
in class AbstractDataSourceRuntimeImpl
public long getWaitingForConnectionSuccessTotal()
JDBCDataSourceRuntimeMBean
The cumulative, running count of requests for a connection from this data source that had to wait before getting a connection and eventually succeeded in getting a connection.
getWaitingForConnectionSuccessTotal
in interface JDBCDataSourceRuntimeMBean
getWaitingForConnectionSuccessTotal
in class AbstractDataSourceRuntimeImpl
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