|
Oracle Fusion Middleware Oracle WebLogic Server MBean Javadoc 11g Release 1 (10.3.3) Part Number E13945-03 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ConnectorConnectionPoolRuntimeMBean
This class is used for monitoring a WebLogic Connector Connection Pool
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/products/weblogic/index.html.
Method Summary | |
---|---|
void |
forceReset()
Force immediately discard all used/unused connections and recreate connection pool (and using new configuration if user update the pool's configuration). |
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. |
ConnectionLeakProfile[] |
getConnectionIdleProfiles()
Deprecated. |
ConnectionLeakProfile[] |
getConnectionIdleProfiles(int index,
int count)
Deprecated. |
int |
getConnectionLeakProfileCount()
Deprecated. |
ConnectionLeakProfile[] |
getConnectionLeakProfiles()
Deprecated. |
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 received. |
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. |
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 |
reset()
Reset connection pool Discard all unused connections and recreate connection pool (and using new configuration if user update the pool's configuration) if no connection from pool is reserved by client application. |
boolean |
testPool()
Test all the available connections in the pool. |
Method Detail |
---|
String getPoolName()
The configured Logical Name for the Connection Factory using this Connector connection pool.
String getJNDIName()
The configured JNDI Name for the Connection Factory using this Connector connection pool.
String getConnectionFactoryName()
For 1.0 link-ref resource adapters only, the base resource adapter's connection factory name.
String getResourceAdapterLinkRefName()
The Resource Adapter Link Reference for cases where this Connection Factory refers to an existing Resource Adapter deployment.
boolean isLoggingEnabled()
Indicates whether logging is enabled for this Connector connection pool.
String getLogFileName()
The Log File used by the Resource Adapter for this Connector connection pool.
LogRuntimeMBean getLogRuntime()
Get the RuntimeMBean that allows monitoring and control of the log file.
String getTransactionSupport()
The transaction support level for the Resource Adapter for this Connector connection pool.
int getMaxCapacity()
The maximum capacity configured for this Connector connection pool.
int getInitialCapacity()
The initial capacity configured for this Connector connection pool.
int getCapacityIncrement()
The initial capacity configured for this Connector connection pool.
boolean isShrinkingEnabled()
Specifies whether shrinking of this Connector connection pool is enabled.
int getShrinkPeriodMinutes()
The Shrink Period (in minutes) of this Connector connection pool.
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 getFreeConnectionsCurrentCount()
The current total free connections.
int getFreeConnectionsHighCount()
The high water mark of free 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 getShrinkCountDownTime()
The amount of time left (in minutes) until an attempt to shrink the pool will be made.
int getRecycledTotal()
The total number of Connector connections that have been recycled in this Connector Pool since the pool is instantiated.
int getConnectionsCreatedTotalCount()
The total number of Connector connections created 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 getConnectionsDestroyedTotalCount()
The total number of Connector connections destroyed in this Connector Pool 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.
ConnectorConnectionRuntimeMBean[] getConnections()
An array of ConnectorConnectionRuntimeMBeans
that
each represents the statistics for a Connector Connection.
ConnectorConnectionRuntimeMBean
int getConnectionIdleProfileCount()
The number of Idle connection profiles stored for this pool.
ConnectionLeakProfile[] getConnectionIdleProfiles(int index, int count)
An array of count LeakProfiles starting at the passed index, in the entire array of Idle profiles.
index
- The starting index of the of the idle profiles.count
- The number of idle profiles needed from the index.
ConnectionLeakProfile[] getConnectionLeakProfiles()
An array of count LeakProfiles
ConnectionLeakProfile[] getConnectionIdleProfiles()
An array of count LeakProfiles starting at the passed index, in the entire array of Idle profiles.
int getConnectionLeakProfileCount()
The number of Leak connection profiles stored for this pool.
ConnectionLeakProfile[] getConnectionLeakProfiles(int index, int count)
An array of count LeakProfiles starting at the passed index, in the entire array of Leak profiles.
index
- The starting index of the of the leak profiles.count
- The number of leak profiles needed from the index.
boolean getConnectionProfilingEnabled()
Indicates whether connection profiling is enabled for this pool.
int getMaxIdleTime()
The configured MaxIdle time for this pool
int getNumberDetectedIdle()
The total number of idle connections detected in the life time of this pool.
int getNumberDetectedLeaks()
The total number of leaked connections detected in the life time of this pool.
String getConnectorEisType()
The EIS type of this Connector connection pool.
String getEISResourceId()
The EISResourceId of this Connector connection pool.
long getCloseCount()
The number of connections that were closed for the connection pool.
long getFreePoolSizeHighWaterMark()
The FreePoolSizeHighWaterMark of this Connector connection pool.
long getFreePoolSizeLowWaterMark()
The FreePoolSizeLowWaterMark of this Connector connection pool.
long getCurrentCapacity()
The PoolSize of this Connector connection pool.
long getPoolSizeHighWaterMark()
The PoolSizeHighWaterMark of this Connector connection pool.
long getPoolSizeLowWaterMark()
The PoolSizeLowWaterMark of this Connector connection pool.
String getManagedConnectionFactoryClassName()
The ManagedConnectionFactoryName of this Connector connection pool.
String getConnectionFactoryClassName()
The ConnectionFactoryName of this Connector connection pool.
long getNumWaiters()
Gets the current number of waiters.
long getHighestNumWaiters()
Gets the highest number of waiters.
boolean isTestable()
This indicates whether the connection pool is testable or not.
long getLastShrinkTime()
Return the last time that the pool was shrunk.
int getConnectionsDestroyedByErrorTotalCount()
Return the number of connections that were destroyed because an error event was received.
int getConnectionsDestroyedByShrinkingTotalCount()
Return the number of connections that were destroyed as a result of shrinking.
int getNumWaitersCurrentCount()
Return the number of waiters.
int getNumUnavailableCurrentCount()
Return the number of unavailable connections.
int getNumUnavailableHighCount()
Return the highest unavailable number of connections at any given time.
boolean isProxyOn()
Return a flag indicating if the proxy is on. Returns true if it is.
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.
String getState()
Get the state of the pool.
String getMCFClassName()
String getResourceLink()
String getKey()
The configured Key for the Connection Factory using this Connector connection pool.
void forceReset() throws ManagementException
Force immediately discard all used/unused connections and recreate connection pool (and using new configuration if user update the pool's configuration).
ManagementException
- If any error occurs during resetting the pool. boolean reset() throws ManagementException
Reset connection pool Discard all unused connections and recreate connection pool (and using new configuration if user update the pool's configuration) if no connection from pool is reserved by client application. If any connection from the connection pool is currently in use, the operation fails and false will be returned, otherwise all connections will be reset and true will be returned.
ManagementException
- If any error occurs during resetting the pool.
|
Copyright 1996, 2010, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Oracle Fusion Middleware Oracle WebLogic Server MBean Javadoc 11g Release 1 (10.3.3) Part Number E13945-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |