|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This class is used for monitoring a Weblogic JDBC component
Method Summary | |
void |
clearStatementCache()
Clears the cache of Prepared and Callable Statements maintained for each connection in the pool. |
void |
destroy()
Destroys the pool. |
void |
disableDroppingUsers()
Deprecated. |
void |
disableFreezingUsers()
Deprecated. |
void |
enable()
Deprecated. |
void |
forceDestroy()
Forcibly destroys the pool. |
void |
forceShutdown()
Forcibly shuts down the pool. |
void |
forceSuspend()
Forcibly disable the pool, suspending all operations on pool connections until the pool is re-enabled. |
int |
getActiveConnectionsAverageCount()
|
int |
getActiveConnectionsCurrentCount()
|
int |
getActiveConnectionsHighCount()
|
int |
getConnectionDelayTime()
|
int |
getConnectionLeakProfileCount()
Connection leak is a situation when connection from the pool was not closed explicitely by calling close() and was garbage collected. |
JDBCConnectionLeakProfile[] |
getConnectionLeakProfiles(int index,
int count)
Connection leak profiling stores stack trace at the time when connection was created in case of connection leak. |
int |
getConnectionsTotalCount()
Returns the total number of JDBC connections in this JDBCConnectionPoolRuntimeMBean since the pool is instantiated. |
int |
getCurrCapacity()
Returns the current capacity of this connection pool. |
int |
getFailuresToReconnectCount()
|
int |
getHighestNumAvailable()
Returns the highest number of available connections in this pool |
int |
getHighestNumUnavailable()
Returns the highest number of unavailable connections in this pool |
int |
getLeakedConnectionCount()
|
int |
getMaxCapacity()
Returns the maximum capacity of this connection pool. |
int |
getNumAvailable()
Returns the number of available connections in this pool |
int |
getNumUnavailable()
Returns the number of unavailable connections in this pool |
boolean |
getPoolState()
Deprecated. |
java.util.Properties |
getProperties()
Return the properties for a pool. |
java.lang.String |
getState()
|
int |
getStatementProfileCount()
SQL roundtrip profiling stores SQL statement text, execution time and other metrics. |
JDBCStatementProfile[] |
getStatementProfiles(int index,
int count)
SQL roundtrip profiling stores SQL statement text, execution time and other metrics. |
java.lang.String |
getVersionJDBCDriver()
|
int |
getWaitingForConnectionCurrentCount()
|
int |
getWaitingForConnectionHighCount()
|
int |
getWaitSecondsHighCount()
|
boolean |
isEnabled()
|
boolean |
poolExists(java.lang.String poolName)
Does a pool with the given name exist? |
void |
reset()
Resets the named database ConnectionPool by shutting down and reestablishing all the pool connections. |
void |
resetConnectionLeakProfile()
Resets connection leak profile. |
void |
resetStatementProfile()
Resets SQL statement profile. |
void |
resume()
Restore all access to and operations on the pool. |
void |
shrink()
Shrinks the named database ConnectionPool to the max of the currently reserved connections or the initial size. |
void |
shutdown()
Shuts down the pool. |
void |
shutdownHard()
Deprecated. |
void |
shutdownSoft()
Deprecated. |
void |
suspend()
Disable the pool, suspending all operations on pool connections until the pool is re-enabled. |
java.lang.String |
testPool()
Test the pool by reserving and releasing a connection from it. |
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,
preRegister |
Methods inherited from interface javax.management.NotificationBroadcaster |
addNotificationListener,
getNotificationInfo,
removeNotificationListener |
Method Detail |
public int getConnectionLeakProfileCount()
This method should be used first before requesting connection leak profiles from the profile storage.
public JDBCConnectionLeakProfile[] getConnectionLeakProfiles(int index, int count)
Connection leak is a situation when connection from the pool was not closed explicitely by calling close() and was garbage collected.
JDBCConnectionLeakProfile
public int getStatementProfileCount()
This method should be used first before requesting SQL statement profiles from the profile storage.
public JDBCStatementProfile[] getStatementProfiles(int index, int count)
JDBCStatementProfile
public java.lang.String testPool()
JDBCConnectionPoolMBean
public int getLeakedConnectionCount()
public boolean getPoolState()
true
if the pool enabled.
false
if the pool disabledpublic boolean isEnabled()
true
if the pool is enabled.
false
if the pool is disabled.public java.lang.String getState()
RUNNING
if the pool is enabled
SUSPENDED
if the pool disabled
SHUTDOWN
if the pool is shutdown
UNKNOWN
if the pool state is unknownpublic int getFailuresToReconnectCount()
public int getConnectionDelayTime()
public int getActiveConnectionsCurrentCount()
public int getWaitingForConnectionCurrentCount()
public java.lang.String getVersionJDBCDriver()
public int getActiveConnectionsHighCount()
Note that this is an optimization method for a highly useful statistic that could be implemented less efficiently using change notification.
public int getActiveConnectionsAverageCount()
public int getWaitingForConnectionHighCount()
Note that this is an optimization method for a highly useful statistic that could be implemented less efficiently using change notification.
public int getWaitSecondsHighCount()
public int getConnectionsTotalCount()
public int getMaxCapacity()
public int getCurrCapacity()
public int getNumAvailable()
public int getHighestNumAvailable()
public int getNumUnavailable()
public int getHighestNumUnavailable()
public void resetConnectionLeakProfile()
public void resetStatementProfile()
public void shrink() throws java.lang.Exception
This is a privileged method, and can only be invoked on a client that has specified an authorized Principal.
public void reset() throws java.lang.Exception
This is a privileged method, and can only be invoked on a client that has specified an authorized Principal.
public void suspend() throws java.lang.Exception
This is a privileged method, and can only be invoked on a client that has specified an authorized Principal.
public void forceSuspend() throws java.lang.Exception
This is a privileged method, and can only be invoked on a client that has specified an authorized Principal.
public void shutdown() throws java.lang.Exception
This is a privileged method, and can only be invoked on a client that has specified an authorized Principal.
public void forceShutdown() throws java.lang.Exception
This is a privileged method, and can only be invoked on a client that has specified an authorized Principal.
public void destroy() throws java.lang.Exception
This is a privileged method, and can only be invoked on a client that has specified an authorized Principal.
public void forceDestroy() throws java.lang.Exception
This is a privileged method, and can only be invoked on a client that has specified an authorized Principal.
public void resume() throws java.lang.Exception
This is a privileged method, and can only be invoked on a client that has specified an authorized Principal.
public void shutdownSoft() throws java.lang.Exception
This is a privileged method, and can only be invoked on a client that has specified an authorized Principal.
destroy()
public void shutdownHard() throws java.lang.Exception
This is a privileged method, and can only be invoked on a client that has specified an authorized Principal.
forceDestroy()
public void disableDroppingUsers() throws java.lang.Exception
This is a privileged method, and can only be invoked on a client that has specified an authorized Principal.
forceSuspend()
public void disableFreezingUsers() throws java.lang.Exception
This is a privileged method, and can only be invoked on a client that has specified an authorized Principal.
suspend()
public void enable() throws java.lang.Exception
This is a privileged method, and can only be invoked on a client that has specified an authorized Principal.
resume()
public java.util.Properties getProperties() throws java.lang.Exception
This is a privileged method, and can only be invoked on a client that has specified an authorized Principal.
public boolean poolExists(java.lang.String poolName) throws java.lang.Exception
This is a privileged method, and can only be invoked on a client that has specified an authorized Principal.
name
- Name of the pool being looked forpublic void clearStatementCache() throws java.lang.Exception
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs81b |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |