BEA Systems, Inc.

Type-Safe Access to BEA WebLogic Server 9.0 MBeans (Deprecated)

(Methods marked with @since 9.0.0.0 are not available through the deprecated MBeanHome interface.)


weblogic.management.runtime
Interface ConnectorConnectionPoolRuntimeMBean

All Superinterfaces:
DynamicMBean, weblogic.management.runtime.LogRuntimeMBean, MBeanRegistration, NotificationBroadcaster, weblogic.management.runtime.RuntimeMBean, weblogic.management.WebLogicMBean

public interface ConnectorConnectionPoolRuntimeMBean
extends weblogic.management.runtime.LogRuntimeMBean

This class is used for monitoring a WebLogic Connector Connection Pool

Deprecation of MBeanHome and Type-Safe Interfaces

This is a type-safe interface for a WebLogic Server MBean, which you can import into your client classes and access through weblogic.management.MBeanHome. As of 9.0, the MBeanHome interface and all type-safe interfaces for WebLogic Server MBeans are deprecated. Instead, client classes that interact with WebLogic Server MBeans should use standard JMX design patterns in which clients use the javax.management.MBeanServerConnection interface to discover MBeans, attributes, and attribute types at runtime. For more information, see "Developing Manageable Applications with JMX" on http://www.oracle.com/technology/documentation/index.html.

Since:
6.1.0.0
Copyright © 2005 BEA Systems, Inc. All Rights Reserved.

Method Summary
 int getActiveConnectionsCurrentCount()
          The current total active connections.
 int getActiveConnectionsHighCount()
          The high water mark of active connections in this Connector Pool since the pool was instantiated.
 int getAverageActiveUsage()
          The running average usage of created connections that are active in the Connector Pool since the pool was last shrunk.
 int getCapacityIncrement()
          The initial capacity configured for this Connector connection pool.
 long getCloseCount()
          The number of connections that were closed for the connection pool.
 String getConnectionFactoryClassName()
          The ConnectionFactoryName of this Connector connection pool.
 String getConnectionFactoryName()
          For 1.0 link-ref resource adapters only, the base resource adapter's connection factory name.
 int getConnectionIdleProfileCount()
          Deprecated.  
 weblogic.jdbc.common.internal.ConnectionLeakProfile[] getConnectionIdleProfiles()
          Deprecated.  
 weblogic.jdbc.common.internal.ConnectionLeakProfile[] getConnectionIdleProfiles(int index, int count)
          Deprecated.  
 int getConnectionLeakProfileCount()
          Deprecated.  
 weblogic.jdbc.common.internal.ConnectionLeakProfile[] getConnectionLeakProfiles()
          Deprecated.  
 weblogic.jdbc.common.internal.ConnectionLeakProfile[] getConnectionLeakProfiles(int index, int count)
          Deprecated.  
 boolean getConnectionProfilingEnabled()
          Deprecated.  
 ConnectorConnectionRuntimeMBean[] getConnections()
          An array of ConnectorConnectionRuntimeMBeans that each represents the statistics for a Connector Connection.
 int getConnectionsCreatedTotalCount()
          The total number of Connector connections created in this Connector Pool since the pool is instantiated.
 int getConnectionsDestroyedByErrorTotalCount()
          Return the number of connections that were destroyed because an error event was recieved.
 int getConnectionsDestroyedByShrinkingTotalCount()
          Return the number of connections that were destroyed as a result of shrinking.
 int getConnectionsDestroyedTotalCount()
          The total number of Connector connections destroyed in this Connector Pool since the pool is instantiated.
 int getConnectionsMatchedTotalCount()
          The total number of times a request for a Connector connections was satisfied via the use of an existing created connection since the pool is instantiated.
 int getConnectionsRejectedTotalCount()
          The total number of rejected requests for a Connector connections in this Connector Pool since the pool is instantiated.
 String getConnectorEisType()
          The EIS type of this Connector connection pool.
 long getCurrentCapacity()
          The PoolSize of this Connector connection pool.
 String getEISResourceId()
          The EISResourceId of this Connector connection pool.
 int getFreeConnectionsCurrentCount()
          The current total free connections.
 int getFreeConnectionsHighCount()
          The high water mark of free connections in this Connector Pool since the pool was instantiated.
 long getFreePoolSizeHighWaterMark()
          The FreePoolSizeHighWaterMark of this Connector connection pool.
 long getFreePoolSizeLowWaterMark()
          The FreePoolSizeLowWaterMark of this Connector connection pool.
 long getHighestNumWaiters()
          Gets the highest number of waiters.
 int getInitialCapacity()
          The initial capacity configured for this Connector connection pool.
 String getJNDIName()
          Deprecated.  
 String getKey()
          The configured Key for the Connection Factory using this Connector connection pool.
 long getLastShrinkTime()
          Return the last time that the pool was shrunk.
 String getLogFileName()
          The Log File used by the Resource Adapter for this Connector connection pool.
 weblogic.management.runtime.LogRuntimeMBean getLogRuntime()
          Get the RuntimeMBean that allows monitoring and control of the log file.
 String getManagedConnectionFactoryClassName()
          The ManagedConnectionFactoryName of this Connector connection pool.
 int getMaxCapacity()
          The maximum capacity configured for this Connector connection pool.
 int getMaxIdleTime()
          The configured MaxIdle time for this pool
 String getMCFClassName()
          Get the MCF class name.
 int getNumberDetectedIdle()
          Deprecated.  
 int getNumberDetectedLeaks()
          Deprecated.  
 int getNumUnavailableCurrentCount()
          Return the number of unavailable connections.
 int getNumUnavailableHighCount()
          Return the highest unavailable number of connections at any given time.
 long getNumWaiters()
          Gets the current number of waiters.
 int getNumWaitersCurrentCount()
          Return the number of waiters.
 String getPoolName()
          The configured Logical Name for the Connection Factory using this Connector connection pool.
 long getPoolSizeHighWaterMark()
          The PoolSizeHighWaterMark of this Connector connection pool.
 long getPoolSizeLowWaterMark()
          The PoolSizeLowWaterMark of this Connector connection pool.
 int getRecycledTotal()
          The total number of Connector connections that have been recycled in this Connector Pool since the pool is instantiated.
 String getResourceAdapterLinkRefName()
          Deprecated.  
 String getResourceLink()
          Get the resource link.
 int getShrinkCountDownTime()
          The amount of time left (in minutes) until an attempt to shrink the pool will be made.
 int getShrinkPeriodMinutes()
          The Shrink Period (in minutes) of this Connector connection pool.
 String getState()
          Get the state of the pool.
 String getTransactionSupport()
          The transaction support level for the Resource Adapter for this Connector connection pool.
 boolean isLoggingEnabled()
          Indicates whether logging is enabled for this Connector connection pool.
 boolean isProxyOn()
          Return a flag indicating if the proxy is on.
 boolean isShrinkingEnabled()
          Specifies whether shrinking of this Connector connection pool is enabled.
 boolean isTestable()
          This indicates whether the connection pool is testable or not.
 boolean testPool()
          Test all the available connections in the pool.
 
Methods inherited from interface weblogic.management.runtime.LogRuntimeMBean
forceLogRotation
 
Methods inherited from interface weblogic.management.WebLogicMBean
getMBeanInfo, getName, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setName, setParent
 
Methods inherited from interface javax.management.DynamicMBean
getAttribute, getAttributes, invoke, setAttribute, setAttributes
 
Methods inherited from interface javax.management.MBeanRegistration
postDeregister, postRegister, preDeregister, preRegister
 
Methods inherited from interface javax.management.NotificationBroadcaster
addNotificationListener, getNotificationInfo, removeNotificationListener
 

Method Detail

getActiveConnectionsCurrentCount

public int getActiveConnectionsCurrentCount()

The current total active connections.

Returns:
The activeConnectionsCurrentCount value

getActiveConnectionsHighCount

public int getActiveConnectionsHighCount()

The high water mark of active connections in this Connector Pool since the pool was instantiated.

Returns:
The activeConnectionsHighCount value

getAverageActiveUsage

public int getAverageActiveUsage()

The running average usage of created connections that are active in the Connector Pool since the pool was last shrunk.

Returns:
The averageActiveUsage value

getCapacityIncrement

public int getCapacityIncrement()

The initial capacity configured for this Connector connection pool.

Returns:
The capacityIncrement value.

getCloseCount

public long getCloseCount()

The number of connections that were closed for the connection pool.

Returns:
long

getConnectionFactoryClassName

public String getConnectionFactoryClassName()

The ConnectionFactoryName of this Connector connection pool.

Returns:
String

getConnectionFactoryName

public String getConnectionFactoryName()

For 1.0 link-ref resource adapters only, the base resource adapter's connection factory name.

Returns:
The connectionFactoryName value

getConnectionIdleProfileCount

public int getConnectionIdleProfileCount()
Deprecated.  

The number of Idle connection profiles stored for this pool.

Returns:
The connectionIdleProfileCount value.

getConnectionIdleProfiles

public weblogic.jdbc.common.internal.ConnectionLeakProfile[] getConnectionIdleProfiles()
Deprecated.  

An array of count LeakProfiles starting at the passed index, in the entire array of Idle profiles.

Returns:
The connectionIdleProfiles value

getConnectionIdleProfiles

public weblogic.jdbc.common.internal.ConnectionLeakProfile[] getConnectionIdleProfiles(int index,
                                                                                       int count)
Deprecated.  

An array of count LeakProfiles starting at the passed index, in the entire array of Idle profiles.

Parameters:
index - The starting index of the of the idle profiles.
count - The number of idle profiles needed from the index.
Returns:
The connectionIdleProfiles value.

getConnectionLeakProfileCount

public int getConnectionLeakProfileCount()
Deprecated.  

The number of Leak connection profiles stored for this pool.

Returns:
The connectionLeakProfileCount value

getConnectionLeakProfiles

public weblogic.jdbc.common.internal.ConnectionLeakProfile[] getConnectionLeakProfiles()
Deprecated.  

An array of count LeakProfiles

Returns:
The connectionLeakProfiles value.

getConnectionLeakProfiles

public weblogic.jdbc.common.internal.ConnectionLeakProfile[] getConnectionLeakProfiles(int index,
                                                                                       int count)
Deprecated.  

An array of count LeakProfiles starting at the passed index, in the entire array of Leak profiles.

Parameters:
index - The starting index of the of the leak profiles.
count - The number of leak profiles needed from the index.
Returns:
The connectionLeakProfiles value

getConnectionProfilingEnabled

public boolean getConnectionProfilingEnabled()
Deprecated.  

Indicates whether connection profiling is enabled for this pool.

Returns:
The connectionProfilingEnabled value

getConnections

public ConnectorConnectionRuntimeMBean[] getConnections()

An array of ConnectorConnectionRuntimeMBeans that each represents the statistics for a Connector Connection.

Returns:
An array of ConnectorConnectionRuntimeMBeans
See Also:
ConnectorConnectionRuntimeMBean

getConnectionsCreatedTotalCount

public int getConnectionsCreatedTotalCount()

The total number of Connector connections created in this Connector Pool since the pool is instantiated.

Returns:
The connectionsCreatedTotalCount value

getConnectionsDestroyedByErrorTotalCount

public int getConnectionsDestroyedByErrorTotalCount()

Return the number of connections that were destroyed because an error event was recieved.

Returns:
int

getConnectionsDestroyedByShrinkingTotalCount

public int getConnectionsDestroyedByShrinkingTotalCount()

Return the number of connections that were destroyed as a result of shrinking.

Returns:
int

getConnectionsDestroyedTotalCount

public int getConnectionsDestroyedTotalCount()

The total number of Connector connections destroyed in this Connector Pool since the pool is instantiated.

Returns:
The connectionsDestroyedTotalCount value

getConnectionsMatchedTotalCount

public int getConnectionsMatchedTotalCount()

The total number of times a request for a Connector connections was satisfied via the use of an existing created connection since the pool is instantiated.

Returns:
The connectionsMatchedTotalCount value

getConnectionsRejectedTotalCount

public int getConnectionsRejectedTotalCount()

The total number of rejected requests for a Connector connections in this Connector Pool since the pool is instantiated.

Returns:
The connectionsRejectedTotalCount value

getConnectorEisType

public String getConnectorEisType()

The EIS type of this Connector connection pool.

Returns:
The eis type

getCurrentCapacity

public long getCurrentCapacity()

The PoolSize of this Connector connection pool.

Returns:
long

getEISResourceId

public String getEISResourceId()

The EISResourceId of this Connector connection pool.

Returns:
The EISResourceId

getFreeConnectionsCurrentCount

public int getFreeConnectionsCurrentCount()

The current total free connections.

Returns:
The freeConnectionsCurrentCount value

getFreeConnectionsHighCount

public int getFreeConnectionsHighCount()

The high water mark of free connections in this Connector Pool since the pool was instantiated.

Returns:
The freeConnectionsHighCount value

getFreePoolSizeHighWaterMark

public long getFreePoolSizeHighWaterMark()

The FreePoolSizeHighWaterMark of this Connector connection pool.

Returns:
long

getFreePoolSizeLowWaterMark

public long getFreePoolSizeLowWaterMark()

The FreePoolSizeLowWaterMark of this Connector connection pool.

Returns:
long

getHighestNumWaiters

public long getHighestNumWaiters()

Gets the highest number of waiters.

Returns:
long

getInitialCapacity

public int getInitialCapacity()

The initial capacity configured for this Connector connection pool.

Returns:
The initialCapacity value.

getJNDIName

public String getJNDIName()
Deprecated.  

The configured JNDI Name for the Connection Factory using this Connector connection pool.

Returns:
The jNDIName value

getKey

public String getKey()

The configured Key for the Connection Factory using this Connector connection pool.

Returns:
The Key Name value

getLastShrinkTime

public long getLastShrinkTime()

Return the last time that the pool was shrunk.

Returns:
long

getLogFileName

public String getLogFileName()

The Log File used by the Resource Adapter for this Connector connection pool.

Returns:
The logFileName value.

getLogRuntime

public weblogic.management.runtime.LogRuntimeMBean getLogRuntime()

Get the RuntimeMBean that allows monitoring and control of the log file.

Returns:
the runtime mbean for the log file.

getManagedConnectionFactoryClassName

public String getManagedConnectionFactoryClassName()

The ManagedConnectionFactoryName of this Connector connection pool.

Returns:
String

getMaxCapacity

public int getMaxCapacity()

The maximum capacity configured for this Connector connection pool.

Returns:
The maxCapacity value.

getMaxIdleTime

public int getMaxIdleTime()

The configured MaxIdle time for this pool

Returns:
The maxIdleTime value

getMCFClassName

public String getMCFClassName()
Get the MCF class name.

Returns:
String

getNumberDetectedIdle

public int getNumberDetectedIdle()
Deprecated.  

The total number of idle connections detected in the life time of this pool.

Returns:
The numberDetectedIdle value

getNumberDetectedLeaks

public int getNumberDetectedLeaks()
Deprecated.  

The total number of leaked connections detected in the life time of this pool.

Returns:
The numberDetectedLeaks value

getNumUnavailableCurrentCount

public int getNumUnavailableCurrentCount()

Return the number of unavailable connections.

Returns:
int

getNumUnavailableHighCount

public int getNumUnavailableHighCount()

Return the highest unavailable number of connections at any given time.

Returns:
int

getNumWaiters

public long getNumWaiters()

Gets the current number of waiters.

Returns:
long

getNumWaitersCurrentCount

public int getNumWaitersCurrentCount()

Return the number of waiters.

Returns:
int

getPoolName

public String getPoolName()

The configured Logical Name for the Connection Factory using this Connector connection pool.

Returns:
The poolName value

getPoolSizeHighWaterMark

public long getPoolSizeHighWaterMark()

The PoolSizeHighWaterMark of this Connector connection pool.

Returns:
long

getPoolSizeLowWaterMark

public long getPoolSizeLowWaterMark()

The PoolSizeLowWaterMark of this Connector connection pool.

Returns:
long

getRecycledTotal

public int getRecycledTotal()

The total number of Connector connections that have been recycled in this Connector Pool since the pool is instantiated.

Returns:
The recycledTotal value

getResourceAdapterLinkRefName

public String getResourceAdapterLinkRefName()
Deprecated.  

The Resource Adapter Link Reference for cases where this Connection Factory refers to an existing Resource Adapter deployment.

Returns:
The resourceAdapterLinkRefName value

getResourceLink

public String getResourceLink()
Get the resource link.

Returns:
String

getShrinkCountDownTime

public int getShrinkCountDownTime()

The amount of time left (in minutes) until an attempt to shrink the pool will be made.

Returns:
The shrinkCountDownTime value

getShrinkPeriodMinutes

public int getShrinkPeriodMinutes()

The Shrink Period (in minutes) of this Connector connection pool.

Returns:
The shrinkPeriodMinutes value.

getState

public String getState()

Get the state of the pool.

Returns:
String

getTransactionSupport

public String getTransactionSupport()

The transaction support level for the Resource Adapter for this Connector connection pool.

Returns:
The transactionSupport value.

isLoggingEnabled

public boolean isLoggingEnabled()

Indicates whether logging is enabled for this Connector connection pool.

Returns:
The loggingEnabled value.

isProxyOn

public boolean isProxyOn()

Return a flag indicating if the proxy is on. Returns true if it is.

Returns:
boolean

isShrinkingEnabled

public boolean isShrinkingEnabled()

Specifies whether shrinking of this Connector connection pool is enabled.

Returns:
The shrinkingEnabled value.

isTestable

public boolean isTestable()

This indicates whether the connection pool is testable or not.

Returns:
boolean

testPool

public boolean testPool()

Test all the available connections in the pool. Returns true if all the connections passed the test and false it at least one failed the test.

Returns:
boolean

Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs90
Copyright 2005 BEA Systems Inc.