BEA Systems, Inc.

WebLogic Server 8.1 API Reference

weblogic.management.runtime
Interface TransactionResourceRuntimeMBean


public interface TransactionResourceRuntimeMBean
extends JTAStatisticsRuntimeMBean, weblogic.health.HealthFeedback

This interface represents runtime statistics for a transactional resource.

Author:
Copyright © 2004 BEA Systems, Inc. All Rights Reserved.

Method Summary
 weblogic.health.HealthState getHealthState()
          Returns the health state of the Resource.
 java.lang.String getResourceName()
          Returns the resource name.
 long getTransactionHeuristicCommitTotalCount()
          Returns the number of transactions for which this resource has returned a heuristic commit decision.
 long getTransactionHeuristicHazardTotalCount()
          Returns the number of transactions for which this resource has reported a heuristic hazard decision.
 long getTransactionHeuristicMixedTotalCount()
          Returns the number of transactions for which this resource has reported a heuristic mixed decision.
 long getTransactionHeuristicRollbackTotalCount()
          Returns the number of transactions for which this resource has returned a heuristic rollback decision.
 
Methods inherited from interface weblogic.management.runtime.JTAStatisticsRuntimeMBean
getTransactionCommittedTotalCount, getTransactionHeuristicsTotalCount, getTransactionRolledBackTotalCount, getTransactionTotalCount
 
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, preRegister
 
Methods inherited from interface javax.management.NotificationBroadcaster
addNotificationListener, getNotificationInfo, removeNotificationListener
 

Method Detail

getResourceName

public java.lang.String getResourceName()
Returns the resource name.

Returns:
The resourceName value

getTransactionHeuristicCommitTotalCount

public long getTransactionHeuristicCommitTotalCount()
Returns the number of transactions for which this resource has returned a heuristic commit decision.

Returns:
The transactionHeuristicCommitTotalCount value

getTransactionHeuristicRollbackTotalCount

public long getTransactionHeuristicRollbackTotalCount()
Returns the number of transactions for which this resource has returned a heuristic rollback decision.

Returns:
The transactionHeuristicRollbackTotalCount value

getTransactionHeuristicMixedTotalCount

public long getTransactionHeuristicMixedTotalCount()
Returns the number of transactions for which this resource has reported a heuristic mixed decision.

Returns:
The transactionHeuristicMixedTotalCount value

getTransactionHeuristicHazardTotalCount

public long getTransactionHeuristicHazardTotalCount()
Returns the number of transactions for which this resource has reported a heuristic hazard decision.

Returns:
The transactionHeuristicHazardTotalCount value

getHealthState

public weblogic.health.HealthState getHealthState()
Returns the health state of the Resource.
Specified by:
getHealthState in interface weblogic.health.HealthFeedback

Returns:
The healthState value

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