GetEx() public static méthode

Get the transaction running on this thread (throw exception if no transaction).
public static GetEx ( ) : LockingTransaction
Résultat LockingTransaction
Exemple #1
0
 public void touch()
 {
     LockingTransaction.GetEx().DoEnsure(this);
 }
Exemple #2
0
 public object commute(IFn fn, ISeq args)
 {
     return(LockingTransaction.GetEx().DoCommute(this, fn, args));
 }
Exemple #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))));
        }
Exemple #4
0
 public object set(object val)
 {
     return(LockingTransaction.GetEx().DoSet(this, val));
 }