Exemplo n.º 1
0
 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();
 }
Exemplo n.º 2
0
 public FakeBrokerQueuesSnapshot2(ulong total)
 {
     Churn = new BrokerQueueChurnMetricsImpl(total);
 }
Exemplo n.º 3
0
 public FakeBrokerQueuesSnapshot()
 {
     ClusterName = "Cluster 1";
     Churn       = new BrokerQueueChurnMetricsImpl();
     Queues      = GetQueues().ToList();
 }
Exemplo n.º 4
0
 public FakeBrokerQueuesSnapshot1(ulong total)
 {
     Churn  = new BrokerQueueChurnMetricsImpl(total);
     Queues = GetQueues().ToList();
 }