Example #1
0
        /// <inheritdoc />
        public void Insert(Guid guid, byte[] data)
        {
            // save data
            var insertDataResult = datastore.Insert(data);
            var dataOffset       = insertDataResult.Item1;
            var flushData        = insertDataResult.Item2;

            index.Insert(guid, dataOffset, data.Length);

            flushData.Wait();
        }