public KeyValuePair <TimestampLog, IEnumerable <ValueListImpl> > AtomicScan(KeyImpl begin, KeyImpl end, IPredicate <ValueListImpl> p)
        {
            CheckInitialized();
            var a = index.AtomicScan(begin, end).Where(v => p.Evaluate(v));

            lock (stamp)
            {
                return(new KeyValuePair <TimestampLog, IEnumerable <ValueListImpl> >(stamp, a));
            }
        }
Beispiel #2
0
 public IEnumerable <ValueListImpl> AtomicScan(KeyImpl begin, KeyImpl end, IPredicate <ValueListImpl> predicate)
 {
     CheckInitialized();
     return(index.AtomicScan(begin, end).Where(v => predicate.Evaluate(v)));
 }