Akka.Dispatch.MessageQueues.BoundedMessageQueue.BoundedMessageQueue C# (CSharp) Метод

BoundedMessageQueue() публичный Метод

public BoundedMessageQueue ( int boundedCapacity, System.TimeSpan pushTimeOut ) : System
boundedCapacity int
pushTimeOut System.TimeSpan
Результат System
        public BoundedMessageQueue(int boundedCapacity, TimeSpan pushTimeOut)
        {
            if (boundedCapacity < 0)
            {
                throw new ArgumentException("The capacity for BoundedMessageQueue can not be negative");
            }
            else if (boundedCapacity == 0)
            {
                _queue = new BlockingCollection<Envelope>();
            }
            else
            {
                _queue = new BlockingCollection<Envelope>(boundedCapacity);
            }
        }

Same methods

BoundedMessageQueue::BoundedMessageQueue ( ) : System
BoundedMessageQueue::BoundedMessageQueue ( Settings settings, Config config ) : System