Exemplo n.º 1
0
            public Task <Slice[]> GetValuesAsync(Slice[] keys)
            {
                Contract.NotNull(keys);

                EnsureCanRead();

                FdbKey.EnsureKeysAreValid(keys);

#if DEBUG
                if (Logging.On && Logging.IsVerbose)
                {
                    Logging.Verbose(this, "GetValuesAsync", $"Getting batch of {keys.Length} values ...");
                }
#endif

                return(m_parent.PerformGetValuesOperation(keys, snapshot: true));
            }
Exemplo n.º 2
0
            public Task <Slice[]> GetValuesAsync(Slice[] keys)
            {
                Contract.NotNull(keys, nameof(keys));

                EnsureCanRead();

                FdbKey.EnsureKeysAreValid(keys);

#if DEBUG
                if (Logging.On && Logging.IsVerbose)
                {
                    Logging.Verbose(this, "GetValuesAsync", $"Getting batch of {keys.Length} values ...");
                }
#endif

                return(m_parent.m_handler.GetValuesAsync(keys, snapshot: true, ct: m_parent.m_cancellation));
            }