Exemplo n.º 1
0
        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);
            }
        }
Exemplo n.º 2
0
        public void Setup()
        {
            var config = new PersistentQueueConfiguration(Commons.GetTempPath(), DataPageSize);

            _queue = config.CreateQueue();
        }