Пример #1
0
        protected TableStateInstanceGrouped LockTableRead(ExprEvaluatorContext context)
        {
            TableAndLockGrouped tableAndLockGrouped = _provider.Get();

            ExprTableEvalLockUtil.ObtainLockUnless(tableAndLockGrouped.Lock, context);
            return(tableAndLockGrouped.Grouped);
        }
Пример #2
0
        protected ObjectArrayBackedEventBean LockTableReadAndGet(object group, ExprEvaluatorContext context)
        {
            TableAndLockGrouped tableAndLockGrouped = _provider.Get();

            ExprTableEvalLockUtil.ObtainLockUnless(tableAndLockGrouped.Lock, context);
            return(tableAndLockGrouped.Grouped.GetRowForGroupKey(group));
        }