public class Txn
Txn() |
Create transaction, assign random transaction id and initialize reads/writes hashmaps with
default capacities.
The default client transaction timeout is zero. This means use the server configuration mrt-duration as the transaction timeout. The default mrt-duration is 10 seconds. |
Txn(Int32, Int32) |
Create transaction, assign random transaction id and initialize reads/writes hashmaps with
given capacities.
The default client transaction timeout is zero. This means use the server configuration mrt-duration as the transaction timeout. The default mrt-duration is 10 seconds. |
Id | |
InDoubt | |
Ns | Transaction namespace. |
Reads | |
State | |
Timeout |
Transaction timeout in seconds. The timer starts when the transaction monitor record is created.
This occurs when the first command in the transaction is executed. If the timeout is reached before
a commit or abort is called, the server will expire and rollback the transaction.
If the transaction timeout is zero, the server configuration mrt-duration is used. The default mrt-duration is 10 seconds. |
Writes |
Clear | |
GetReadVersion | Get record version for a given key. |
MonitorExists | Does transaction monitor record exist. |
VerifyCommand | Verify that the transaction state allows future commands. |