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 JDBCReplayStatisticsRuntimeMBean

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

public interface JDBCReplayStatisticsRuntimeMBean
extends ComponentRuntimeMBean

This class is used to get replay statics for an Oracle replay datasource aggregated across all connections in the pool.

Since:
12.2.1.0

Field Summary

 

Fields inherited from interface weblogic.management.runtime.ComponentRuntimeMBean
ACTIVATED, NEW, PREPARED, UNPREPARED

 

Method Summary
abstract  void clearStatistics()
          Clear the statistics on all connections.
abstract  long getFailedReplayCount()
          Obtains the number of replays that failed.
abstract  long getReplayDisablingCount()
          Obtains the number of times that replay is disabled.
abstract  long getSuccessfulReplayCount()
          Obtains the number of replays that succeeded.
abstract  long getTotalCalls()
          Obtains the total number of JDBC calls executed so far.
abstract  long getTotalCallsAffectedByOutages()
          Obtains the number of JDBC calls affected by outages.
abstract  long getTotalCallsAffectedByOutagesDuringReplay()
          Obtains the number of JDBC calls affected by outages in the middle of replay.
abstract  long getTotalCallsTriggeringReplay()
          Obtains the number of JDBC calls that triggered replay.
abstract  long getTotalCompletedRequests()
          Obtains the total number of completed requests so far.
abstract  long getTotalProtectedCalls()
          Obtains the total number of JDBC calls executed so far that are protected by AC.
abstract  long getTotalReplayAttempts()
          Obtains the number of replay attempts.
abstract  long getTotalRequests()
          Obtains the total number of successfully submitted requests so far.
abstract  void refreshStatistics()
          Update the snapshot

 

Methods inherited from interface weblogic.management.runtime.ComponentRuntimeMBean
getDeploymentState, getModuleId, getWorkManagerRuntimes

 

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

refreshStatistics

void refreshStatistics()
Update the snapshot

clearStatistics

void clearStatistics()
Clear the statistics on all connections.

getTotalRequests

long getTotalRequests()
Obtains the total number of successfully submitted requests so far.
Returns:
The number of successfully submitted requests.

getTotalCompletedRequests

long getTotalCompletedRequests()
Obtains the total number of completed requests so far.
Returns:
The number of completed requests.

getTotalCalls

long getTotalCalls()
Obtains the total number of JDBC calls executed so far.
Returns:
The number of JDBC calls.

getTotalProtectedCalls

long getTotalProtectedCalls()
Obtains the total number of JDBC calls executed so far that are protected by AC.
Returns:
The number of JDBC calls protected by AC.

getTotalCallsAffectedByOutages

long getTotalCallsAffectedByOutages()
Obtains the number of JDBC calls affected by outages. This includes both local calls and calls that involve roundtrip(s) to the database server.
Returns:
The number of JDBC calls affected by outages.

getTotalCallsTriggeringReplay

long getTotalCallsTriggeringReplay()
Obtains the number of JDBC calls that triggered replay. Not all the calls affected by an outage trigger replay, because replay can be disabled for some requests.
Returns:
The number of JDBC calls that triggered replay.

getTotalCallsAffectedByOutagesDuringReplay

long getTotalCallsAffectedByOutagesDuringReplay()
Obtains the number of JDBC calls affected by outages in the middle of replay. Outages may be cascaded and strike a call multiple times when replay is ongoing. AC automatically reattempts replay when this happens, unless it reaches the maximum retry limit.
Returns:
The number of JDBC calls affected by outages during replay.

getSuccessfulReplayCount

long getSuccessfulReplayCount()
Obtains the number of replays that succeeded. Successful replays mask the outages from applications.
Returns:
The number of successful replays.

getFailedReplayCount

long getFailedReplayCount()

Obtains the number of replays that failed.

When replay fails, it rethrows the original SQLRecoverableException to the application, with the reason for the failure chained to that original exception. Application can call getNextException to retrieve the reason.

Returns:
The number of successful replays.

getReplayDisablingCount

long getReplayDisablingCount()
Obtains the number of times that replay is disabled. When replay is disabled in the middle of a request, the remaining calls in that request are no longer protected by AC. In case an outage strikes one of those remaining calls, no replay will be attempted, and application simply gets an SQLRecoverableException.
Returns:
The number of times that replay is disabled.

getTotalReplayAttempts

long getTotalReplayAttempts()
Obtains the number of replay attempts. AC automatically reattempts when replay fails, so this number may exceed the number of JDBC calls that triggered replay.
Returns:
The number of replay attempts.

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