public BrokerQueuesSnapshotImpl(SystemOverviewInfo systemOverview, IReadOnlyList <QueueInfo> queues) { ClusterName = systemOverview.ClusterName; Churn = new BrokerQueueChurnMetricsImpl(systemOverview.MessageStats, systemOverview.QueueStats); Queues = queues .Select(x => new QueueSnapshotImpl(x)) .Cast <QueueSnapshot>() .ToList(); }
public FakeBrokerQueuesSnapshot2(ulong total) { Churn = new BrokerQueueChurnMetricsImpl(total); }
public FakeBrokerQueuesSnapshot() { ClusterName = "Cluster 1"; Churn = new BrokerQueueChurnMetricsImpl(); Queues = GetQueues().ToList(); }
public FakeBrokerQueuesSnapshot1(ulong total) { Churn = new BrokerQueueChurnMetricsImpl(total); Queues = GetQueues().ToList(); }