Exemple #1
0
        protected TableStateInstanceGrouped LockTableRead(ExprEvaluatorContext context)
        {
            TableAndLockGrouped tableAndLockGrouped = _provider.Get();

            ExprTableEvalLockUtil.ObtainLockUnless(tableAndLockGrouped.Lock, context);
            return(tableAndLockGrouped.Grouped);
        }
Exemple #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);
        }
Exemple #4
0
 protected void LockTableRead(ExprEvaluatorContext context)
 {
     ExprTableEvalLockUtil.ObtainLockUnless(_lock, context);
 }
Exemple #5
0
 protected ObjectArrayBackedEventBean LockTableReadAndGet(object group, ExprEvaluatorContext context)
 {
     ExprTableEvalLockUtil.ObtainLockUnless(_lock, context);
     return(AggregationState.Get(group));
 }