javax.management.DynamicMBean
, javax.management.MBeanRegistration
, javax.management.NotificationBroadcaster
, RuntimeMBean
, WebLogicMBean
public interface ConnectorConnectionRuntimeMBean extends RuntimeMBean
This class is used for monitoring individual WebLogic Connector connections
Modifier and Type | Method | Description |
---|---|---|
void |
delete() |
Provides a way to manually close a connection through the
console.
|
int |
getActiveHandlesCurrentCount() |
The current total active connection handles for this
connection.
|
int |
getActiveHandlesHighCount() |
The high water mark of active connection handles for this
connection since the connection was created.
|
java.lang.String |
getConnectionFactoryClassName() |
Returns the connection factory class name.
|
long |
getCreationDurationTime() |
Return the time taken to create the connection.
|
java.lang.String |
getEISProductName() |
Returns the EISProductName associated with the ManagedConnection's
MetaData
|
java.lang.String |
getEISProductVersion() |
Returns the EISProductVersion associated with the ManagedConnection's
MetaData.
|
int |
getHandlesCreatedTotalCount() |
The total number of connection handles created for this
connection since the connection was created.
|
long |
getLastUsage() |
Deprecated.
|
java.lang.String |
getLastUsageString() |
Deprecated.
|
java.lang.String |
getManagedConnectionFactoryClassName() |
Returns the managed connection factory class name.
|
java.lang.String |
getMaxConnections() |
Returns the MaxConnections associated with the ManagedConnection's
MetaData
|
long |
getReserveDurationTime() |
Get the time taken to reserve this connection.
|
long |
getReserveTime() |
Return the last time the connection was reserved.
|
java.lang.String |
getStackTrace() |
Deprecated.
|
java.lang.String |
getTransactionId() |
Get the Transaction ID of the transaction that this connection is being
used with.
|
java.lang.String |
getUserName() |
Returns the UserName associated with the ManagedConnection's
MetaData
|
boolean |
hasError() |
Return a flag indicating whether the connection has an error or not.
|
boolean |
isCurrentlyInUse() |
Indicates whether the connection is currently in use.
|
boolean |
isDeletable() |
Indicates whether the connection can be closed manually through
the console.
|
boolean |
isIdle() |
Deprecated.
|
boolean |
isInTransaction() |
Indicates whether the connection is currently in use in a
transaction.
|
boolean |
isShared() |
Indicates whether the connection is currently being shared by
more than one invoker.
|
boolean |
testConnection() |
Test the connection.
|
getAttribute, getAttributes, invoke, setAttribute, setAttributes
postDeregister, postRegister, preRegister
addNotificationListener, getNotificationInfo, removeNotificationListener
addPropertyChangeListener, removePropertyChangeListener
getMBeanInfo, getName, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setName, setParent
int getActiveHandlesCurrentCount()
The current total active connection handles for this connection.
int getActiveHandlesHighCount()
The high water mark of active connection handles for this connection since the connection was created.
int getHandlesCreatedTotalCount()
The total number of connection handles created for this connection since the connection was created.
boolean isCurrentlyInUse()
Indicates whether the connection is currently in use.
boolean isInTransaction()
Indicates whether the connection is currently in use in a transaction.
boolean isShared()
Indicates whether the connection is currently being shared by more than one invoker.
@Deprecated long getLastUsage()
The last usage time stamp for the connection in milliseconds, as
returned by System.currentTimeMillis()
.
@Deprecated java.lang.String getLastUsageString()
The last usage time stamp for the connection as a string.
@Deprecated java.lang.String getStackTrace()
The stack trace for the current connection, which will be blank unless connection-profiling-enabled is set to true in weblogic-ra.xml
@Deprecated boolean isIdle()
Indicates whether the connection has been idle for a period extending beyond the configured maximum.
boolean isDeletable()
Indicates whether the connection can be closed manually through the console.
void delete() throws ManagementException
Provides a way to manually close a connection through the console.
ManagementException
java.lang.String getEISProductName()
java.lang.String getEISProductVersion()
Returns the EISProductVersion associated with the ManagedConnection's MetaData.
java.lang.String getMaxConnections()
Returns the MaxConnections associated with the ManagedConnection's MetaData
java.lang.String getUserName()
Returns the UserName associated with the ManagedConnection's MetaData
java.lang.String getManagedConnectionFactoryClassName()
Returns the managed connection factory class name.
java.lang.String getConnectionFactoryClassName()
Returns the connection factory class name.
boolean testConnection()
Test the connection. Returns true if the test was successful.
long getCreationDurationTime()
Return the time taken to create the connection.
long getReserveDurationTime()
Get the time taken to reserve this connection.
java.lang.String getTransactionId()
Get the Transaction ID of the transaction that this connection is being used with.
long getReserveTime()
Return the last time the connection was reserved.
boolean hasError()
Return a flag indicating whether the connection has an error or not. A "true" is returned if there is an error.