GetEx() public static method

Get the transaction running on this thread (throw exception if no transaction).
public static GetEx ( ) : LockingTransaction
return LockingTransaction
Exemplo n.º 1
0
 public void touch()
 {
     LockingTransaction.GetEx().DoEnsure(this);
 }
Exemplo n.º 2
0
 public object commute(IFn fn, ISeq args)
 {
     return(LockingTransaction.GetEx().DoCommute(this, fn, args));
 }
Exemplo n.º 3
0
        public object alter(IFn fn, ISeq args)
        {
            LockingTransaction t = LockingTransaction.GetEx();

            return(t.DoSet(this, fn.applyTo(RT.cons(t.DoGet(this), args))));
        }
Exemplo n.º 4
0
 public object set(object val)
 {
     return(LockingTransaction.GetEx().DoSet(this, val));
 }