Represents the status information on an open transaction.
The following tables list the members exposed by NetricsTranStats.
Public Fields
Name | Description | |
---|---|---|
![]() ![]() |
LKT_TRAN_EXPLICIT | Indicates a user-created transaction. This field is constant and read-only. |
![]() ![]() |
LKT_TRAN_IMPLICIT | Indicates an automatic transaction internal to the server. This field is constant and read-only. |
![]() ![]() |
STATE_ADDED | This item has been added, but not yet committed. This field is constant and read-only. |
![]() ![]() |
STATE_DELETED | This item has been deleted, but the delete is not yet committed. This field is constant and read-only. |
![]() ![]() |
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. |
![]() ![]() |
STATE_EXIST | The item exists but is not held by a transaction. This field is constant and read-only. |
![]() ![]() |
STATE_HELD | This item is held in conjunction with another operation that is not committed. This field is constant and read-only. |
![]() ![]() |
STATE_MIXED | This item had different states on different nodes. This field is constant and read-only. |
![]() ![]() |
STATE_NULL | Special state indicating there is no state for this item. This field is constant and read-only. |
![]() ![]() |
STATE_RENAMED | This item was renamed, but the name change is not committed. This field is constant and read-only. |
![]() ![]() |
STATE_REPLACED | This item was replaced, but the update is not committed. This field is constant and read-only. |
![]() ![]() |
STATE_UPDATED | This item has been updated, the update is not committed. This field is constant and read-only. |
![]() ![]() |
TRAN_ID_NULL | Represents the special null or missing transaction id. This field is constant and read-only. |
Public Methods
Name | Description | |
---|---|---|
![]() |
Equals | (inherited from Object) |
![]() |
getErrorCount | Returns the number of modify operations associated with this transaction that terminated with an error. |
![]() |
GetHashCode | (inherited from Object) |
![]() |
getId | Returns the full transaction id. |
![]() |
getIdleTime | Return the idle time for this transaction in seconds. |
![]() |
getLogSize | Returns the number of entries in the rollback log. |
![]() |
getShortId | Return the short form of the transaction id. |
![]() |
GetType | (inherited from Object) |
![]() |
isExplicit | Return true if this is an explicit transaction. |
![]() |
isGatewayTran | Return true if this is a gateway transaction. |
![]() |
isImplicit | Return true if this is an implicit transaction. |
![]() |
ToString | Overridden. Returns a string that represents the NetricsTranStats object. |
Protected Methods
Name | Description | |
---|---|---|
![]() |
Finalize | (inherited from Object) |
![]() |
MemberwiseClone | (inherited from Object) |