public void Setup()
        {
            var config = new PersistentQueueConfiguration(Commons.GetTempPath(), DataPageSize);

            _queue = config.CreateQueue();

            var data = new byte[ItemSize];

            for (var i = 0; i < EnqueueCount; i++)
            {
                _queue.Enqueue(data);
            }
        }
Esempio n. 2
0
        public void Setup()
        {
            var config = new PersistentQueueConfiguration(Commons.GetTempPath(), DataPageSize);

            _queue = config.CreateQueue();
        }