Exemplo n.º 1
0
        protected TableStateInstanceGrouped LockTableRead(ExprEvaluatorContext context)
        {
            TableAndLockGrouped tableAndLockGrouped = _provider.Get();

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