Пример #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));
        }
        protected ObjectArrayBackedEventBean LockTableReadAndGet(ExprEvaluatorContext context)
        {
            var pair = _provider.Get();

            ExprTableEvalLockUtil.ObtainLockUnless(pair.Lock, context);
            return(pair.Ungrouped.EventUngrouped);
        }
Пример #4
0
 protected void LockTableRead(ExprEvaluatorContext context)
 {
     ExprTableEvalLockUtil.ObtainLockUnless(_lock, context);
 }
Пример #5
0
 protected ObjectArrayBackedEventBean LockTableReadAndGet(object group, ExprEvaluatorContext context)
 {
     ExprTableEvalLockUtil.ObtainLockUnless(_lock, context);
     return(AggregationState.Get(group));
 }