Skip navigation links

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09


weblogic.management.runtime
Interface ConnectorConnectionRuntimeMBean

All Superinterfaces:
DynamicMBean, MBeanRegistration, NotificationBroadcaster, RuntimeMBean, WebLogicMBean

public interface ConnectorConnectionRuntimeMBean
extends RuntimeMBean

This class is used for monitoring individual WebLogic Connector connections


Method Summary
abstract  void delete()
          Provides a way to manually close a connection through the console.
abstract  int getActiveHandlesCurrentCount()
          The current total active connection handles for this connection.
abstract  int getActiveHandlesHighCount()
          The high water mark of active connection handles for this connection since the connection was created.
abstract  String getConnectionFactoryClassName()
          Returns the connection factory class name.
abstract  long getCreationDurationTime()
          Return the time taken to create the connection.
abstract  String getEISProductName()
          Returns the EISProductName associated with the ManagedConnection's MetaData
abstract  String getEISProductVersion()
          Returns the EISProductVersion associated with the ManagedConnection's MetaData.
abstract  int getHandlesCreatedTotalCount()
          The total number of connection handles created for this connection since the connection was created.
abstract  long getLastUsage()
          Deprecated.  
abstract  String getLastUsageString()
          Deprecated.  
abstract  String getManagedConnectionFactoryClassName()
          Returns the managed connection factory class name.
abstract  String getMaxConnections()
          Returns the MaxConnections associated with the ManagedConnection's MetaData
abstract  long getReserveDurationTime()
          Get the time taken to reserve this connection.
abstract  long getReserveTime()
          Return the last time the connection was reserved.
abstract  String getStackTrace()
          Deprecated.  
abstract  String getTransactionId()
          Get the Transaction ID of the transaction that this connection is being used with.
abstract  String getUserName()
          Returns the UserName associated with the ManagedConnection's MetaData
abstract  boolean hasError()
          Return a flag indicating whether the connection has an error or not.
abstract  boolean isCurrentlyInUse()
          Indicates whether the connection is currently in use.
abstract  boolean isDeletable()
          Indicates whether the connection can be closed manually through the console.
abstract  boolean isIdle()
          Deprecated.  
abstract  boolean isInTransaction()
          Indicates whether the connection is currently in use in a transaction.
abstract  boolean isShared()
          Indicates whether the connection is currently being shared by more than one invoker.
abstract  boolean testConnection()
          Test the connection.

 

Methods inherited from interface weblogic.management.runtime.RuntimeMBean
addPropertyChangeListener, removePropertyChangeListener

 

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

int getActiveHandlesCurrentCount()

The current total active connection handles for this connection.

Returns:
The activeHandlesCurrentCount value

getActiveHandlesHighCount

int getActiveHandlesHighCount()

The high water mark of active connection handles for this connection since the connection was created.

Returns:
The activeHandlesHighCount value

getHandlesCreatedTotalCount

int getHandlesCreatedTotalCount()

The total number of connection handles created for this connection since the connection was created.

Returns:
The handlesCreatedTotalCount value

isCurrentlyInUse

boolean isCurrentlyInUse()

Indicates whether the connection is currently in use.

Returns:
The currentlyInUse value

isInTransaction

boolean isInTransaction()

Indicates whether the connection is currently in use in a transaction.

Returns:
The inTransaction value

isShared

boolean isShared()

Indicates whether the connection is currently being shared by more than one invoker.

Returns:
The shared value

getLastUsage

long getLastUsage()
Deprecated. 

The last usage time stamp for the connection in milliseconds, as returned by System.currentTimeMillis().

Returns:
The lastUsage value

getLastUsageString

String getLastUsageString()
Deprecated. 

The last usage time stamp for the connection as a string.

Returns:
The lastUsageString value

getStackTrace

String getStackTrace()
Deprecated. 

The stack trace for the current connection, which will be blank unless connection-profiling-enabled is set to true in weblogic-ra.xml

Returns:
The stackTrace value

isIdle

boolean isIdle()
Deprecated. 

Indicates whether the connection has been idle for a period extending beyond the configured maximum.

Returns:
The idle value

isDeletable

boolean isDeletable()

Indicates whether the connection can be closed manually through the console.

Returns:
The deletable value

delete

void delete()
            throws ManagementException

Provides a way to manually close a connection through the console.

Throws:
ManagementException

getEISProductName

String getEISProductName()
Returns the EISProductName associated with the ManagedConnection's MetaData
Returns:
The productName value

getEISProductVersion

String getEISProductVersion()

Returns the EISProductVersion associated with the ManagedConnection's MetaData.

Returns:
The productVersion value

getMaxConnections

String getMaxConnections()

Returns the MaxConnections associated with the ManagedConnection's MetaData

Returns:
The maxConnections value

getUserName

String getUserName()

Returns the UserName associated with the ManagedConnection's MetaData

Returns:
The UserName value

getManagedConnectionFactoryClassName

String getManagedConnectionFactoryClassName()

Returns the managed connection factory class name.

Returns:
The ManagedConnectionFactoryClassName

getConnectionFactoryClassName

String getConnectionFactoryClassName()

Returns the connection factory class name.

Returns:
The ConnectionFactoryClassName

testConnection

boolean testConnection()

Test the connection. Returns true if the test was successful.

Returns:
boolean

getCreationDurationTime

long getCreationDurationTime()

Return the time taken to create the connection.

Returns:
long

getReserveDurationTime

long getReserveDurationTime()

Get the time taken to reserve this connection.

Returns:
long

getTransactionId

String getTransactionId()

Get the Transaction ID of the transaction that this connection is being used with.

Returns:
String

getReserveTime

long getReserveTime()

Return the last time the connection was reserved.

Returns:
long

hasError

boolean hasError()

Return a flag indicating whether the connection has an error or not. A "true" is returned if there is an error.

Returns:
boolean

Skip navigation links

Copyright 1996, 2015, 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
Java API Reference for Oracle WebLogic Server
12c (12.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09