BEA Systems, Inc.


weblogic.management.runtime
Interface ConnectorConnectionRuntimeMBean


public interface ConnectorConnectionRuntimeMBean
extends weblogic.management.runtime.RuntimeMBean

This class is used for monitoring individual WebLogic Connector connections


Method Summary
 void delete()
          Provides a way to manually close a connection through the console
 int getActiveHandlesCurrentCount()
          Returns the current total active connection handles for this connection.
 int getActiveHandlesHighCount()
          Returns the high water mark of active connection handles for this connection since the connection was created.
 int getHandlesCreatedTotalCount()
          Returns the total number of connection handles created for this connection since the connection was created.
 long getLastUsage()
          Returns the last usage timestamp for the connection in milliseconds, as returned by System.currentTimeMillis()
 java.lang.String getLastUsageString()
          Returns the last usage timestamp for the connection as a string.
 java.lang.String getStackTrace()
          Returns the stack trace for the current connection, will be blank unless connection-profiling-enabled is set to true in weblogic-ra.xml
 boolean isCurrentlyInUse()
          Returns an indicator of whether or not the connection is currently in use
 boolean isDeletable()
          Returns an indicator of whether or not the connection can be closed manually through the console.
 boolean isIdle()
          Returns an indicator of whether or not the connection has been idle for a period extending beyond the configured maximum.
 boolean isInTransaction()
          Returns an indicator of whether or not the connection is currently in use in a transaction
 boolean isShared()
          Returns an indicator of whether or not the connection is currently being shared by more than one invoker
 
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

getActiveHandlesCurrentCount

public int getActiveHandlesCurrentCount()
Returns the current total active connection handles for this connection.


getActiveHandlesHighCount

public int getActiveHandlesHighCount()
Returns the high water mark of active connection handles for this connection since the connection was created.


getHandlesCreatedTotalCount

public int getHandlesCreatedTotalCount()
Returns the total number of connection handles created for this connection since the connection was created.


isCurrentlyInUse

public boolean isCurrentlyInUse()
Returns an indicator of whether or not the connection is currently in use


isInTransaction

public boolean isInTransaction()
Returns an indicator of whether or not the connection is currently in use in a transaction


isShared

public boolean isShared()
Returns an indicator of whether or not the connection is currently being shared by more than one invoker


getLastUsage

public long getLastUsage()
Returns the last usage timestamp for the connection in milliseconds, as returned by System.currentTimeMillis()


getLastUsageString

public java.lang.String getLastUsageString()
Returns the last usage timestamp for the connection as a string.


getStackTrace

public java.lang.String getStackTrace()
Returns the stack trace for the current connection, will be blank unless connection-profiling-enabled is set to true in weblogic-ra.xml


isIdle

public boolean isIdle()
Returns an indicator of whether or not the connection has been idle for a period extending beyond the configured maximum.


isDeletable

public boolean isDeletable()
Returns an indicator of whether or not the connection can be closed manually through the console.


delete

public void delete()
            throws ManagementException
Provides a way to manually close a connection through the console


Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs70

Copyright © 2004 BEA Systems, Inc. All Rights Reserved.
WebLogic Server 7.0 API Reference