Example #1
0
 public Transaction(ulong transactionId, String coordinatorAddress)
 {
     this.transactionId      = transactionId;
     this.coordinatorAddress = coordinatorAddress;
     this.TransactionState   = TransactionInServerState.Running;
     this.modifiedObjects    = new HashSet <int>();
 }
Example #2
0
 public void setVoteCommit()
 {
     TransactionState = TransactionInServerState.VoteCommit;
 }
Example #3
0
 public void setVoteAbort()
 {
     TransactionState = TransactionInServerState.VoteAbort;
 }
Example #4
0
 public void setCommited()
 {
     TransactionState = TransactionInServerState.Committed;
 }
Example #5
0
 public void setAborted()
 {
     TransactionState = TransactionInServerState.Aborted;
 }
Example #6
0
 public void setAborted()
 {
     TransactionState = TransactionInServerState.Aborted;
 }
Example #7
0
 public void setCommited()
 {
     TransactionState = TransactionInServerState.Committed;
 }
Example #8
0
 public void setVoteCommit()
 {
     TransactionState = TransactionInServerState.VoteCommit;
 }
Example #9
0
 public void setVoteAbort()
 {
     TransactionState = TransactionInServerState.VoteAbort;
 }