Represents the status information on an open transaction.


The following tables list the members exposed by NetricsTranStats.

Public Fields

  Name Description
Public field Static LKT_TRAN_EXPLICIT Indicates a user-created transaction. This field is constant and read-only.
Public field Static LKT_TRAN_IMPLICIT Indicates an automatic transaction internal to the server. This field is constant and read-only.
Public field Static STATE_ADDED This item has been added, but not yet committed. This field is constant and read-only.
Public field Static STATE_DELETED This item has been deleted, but the delete is not yet committed. This field is constant and read-only.
Public field Static STATE_DIRTY This is a special state used to test if this object has been modified by an uncommitted transaction. This field is constant and read-only.
Public field Static STATE_EXIST The item exists but is not held by a transaction. This field is constant and read-only.
Public field Static STATE_HELD This item is held in conjunction with another operation that is not committed. This field is constant and read-only.
Public field Static STATE_MIXED This item had different states on different nodes. This field is constant and read-only.
Public field Static STATE_NULL Special state indicating there is no state for this item. This field is constant and read-only.
Public field Static STATE_RENAMED This item was renamed, but the name change is not committed. This field is constant and read-only.
Public field Static STATE_REPLACED This item was replaced, but the update is not committed. This field is constant and read-only.
Public field Static STATE_UPDATED This item has been updated, the update is not committed. This field is constant and read-only.
Public field Static TRAN_ID_NULL Represents the special null or missing transaction id. This field is constant and read-only.
Top

Public Methods

  Name Description
Public method Equals   (inherited from Object)
Public method getErrorCount Returns the number of modify operations associated with this transaction that terminated with an error.
Public method GetHashCode   (inherited from Object)
Public method getId Returns the full transaction id.
Public method getIdleTime Return the idle time for this transaction in seconds.
Public method getLogSize Returns the number of entries in the rollback log.
Public method getShortId Return the short form of the transaction id.
Public method GetType   (inherited from Object)
Public method isExplicit Return true if this is an explicit transaction.
Public method isGatewayTran Return true if this is a gateway transaction.
Public method isImplicit Return true if this is an implicit transaction.
Public method ToString Overridden. Returns a string that represents the NetricsTranStats object.
Top

Protected Methods

  Name Description
Family method Finalize   (inherited from Object)
Family method MemberwiseClone   (inherited from Object)
Top

See Also