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

Part Number E41849-02

weblogic.management.runtime
Interface JDBCOracleDataSourceInstanceRuntimeMBean

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

public interface JDBCOracleDataSourceInstanceRuntimeMBean
extends RuntimeMBean

Runtime MBean for monitoring a JDBC GridLink Data Source instance.


Method Summary
 int getActiveConnectionsCurrentCount()
           The number of connections currently in use by applications.
 int getConnectionsTotalCount()
           The cumulative total number of database connections created in this instance since the data source was deployed.
 int getCurrCapacity()
           The current count of JDBC connections in the connection pool in the data source for this instance.
 int getCurrentWeight()
          The current weight of the instance.
 String getInstanceName()
          The name of this instance.
 int getNumAvailable()
           The number of database connections currently available (not in use) in this data source for this instance.
 int getNumUnavailable()
           The number of database connections that are currently unavailable (in use or being tested by the system) in this instance.
 long getReserveRequestCount()
           The cumulative, running count of requests for a connection from this instance.
 String getSignature()
          The signature that uniquely identifies the instance.
 String getState()
           The current state of the instance within the data source.
 boolean isAffEnabled()
          The value from the latest load-balancing advisory aff flag for a GridLink data source instance.
 boolean isEnabled()
          Indicates whether the instance is enabled or disabled: true if the instance is enabled. false if the instance is disabled.
 
Methods inherited from interface weblogic.management.WebLogicMBean
getMBeanInfo, getName, getObjectName, getParent, getType, isCachingDisabled, isRegistered, 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

getInstanceName

String getInstanceName()
The name of this instance.

Returns:
The instance name.

getSignature

String getSignature()
The signature that uniquely identifies the instance.

Returns:
The instance signature.

getCurrentWeight

int getCurrentWeight()
The current weight of the instance.

Returns:
The current weight of instance.

getActiveConnectionsCurrentCount

int getActiveConnectionsCurrentCount()

The number of connections currently in use by applications.

Returns:
Current total number of active connections.

getReserveRequestCount

long getReserveRequestCount()

The cumulative, running count of requests for a connection from this instance.

Returns:
The cumulative count of requests for connections from this instance.

getConnectionsTotalCount

int getConnectionsTotalCount()

The cumulative total number of database connections created in this instance since the data source was deployed.

Returns:
The cumulative total number of JDBC connections created in this instance.

getCurrCapacity

int getCurrCapacity()

The current count of JDBC connections in the connection pool in the data source for this instance.

Returns:
The current pool capacity of this instance.

getNumAvailable

int getNumAvailable()

The number of database connections currently available (not in use) in this data source for this instance.

Returns:
The number of available connections in this data source instance.

getNumUnavailable

int getNumUnavailable()

The number of database connections that are currently unavailable (in use or being tested by the system) in this instance.

Returns:
The number of unavailable connections in this instance.

isEnabled

boolean isEnabled()
Indicates whether the instance is enabled or disabled:

Returns:
Boolean indicating whether the instance is enabled or disabled.

getState

String getState()

The current state of the instance within the data source.

Possible states are:

Returns:
Current state of the data source instance.

isAffEnabled

boolean isAffEnabled()
The value from the latest load-balancing advisory aff flag for a GridLink data source instance.

Returns:
The value of the aff property for the instance.

Copyright 1996, 2014, 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.1.3)

Part Number E41849-02