Beispiel #1
0
        protected internal virtual QueueInfo GetQueueInfo()
        {
            QueueInfo queueInfo = recordFactory.NewRecordInstance <QueueInfo>();

            queueInfo.SetQueueName(queueName);
            queueInfo.SetAccessibleNodeLabels(accessibleLabels);
            queueInfo.SetCapacity(queueCapacities.GetCapacity());
            queueInfo.SetMaximumCapacity(queueCapacities.GetMaximumCapacity());
            queueInfo.SetQueueState(state);
            queueInfo.SetDefaultNodeLabelExpression(defaultLabelExpression);
            queueInfo.SetCurrentCapacity(GetUsedCapacity());
            return(queueInfo);
        }