public FakeQueueSnapshot1(ulong total, int number) { Identifier = $"Queue{number}"; Node = "Node0"; Messages = new QueueChurnMetricsImpl(total); Memory = new QueueMemoryDetailsImpl(total); }
public QueueSnapshotImpl(QueueInfo queue) { Identifier = queue.Name; VirtualHost = queue.VirtualHost; Node = queue.Node; Messages = new QueueChurnMetricsImpl(queue); Memory = new QueueMemoryDetailsImpl(queue); Consumers = queue.Consumers; ConsumerUtilization = queue.ConsumerUtilization; IdleSince = queue.IdleSince; }
public FakeQueueSnapshot4(ulong total) { Memory = new QueueMemoryDetailsImpl(total); }