public QueueChurnMetricsImpl(QueueInfo queue) { Incoming = new QueueDepthImpl(queue.MessageStats?.TotalMessagesPublished ?? 0, queue.MessageStats?.MessagesPublishedDetails?.Value ?? 0); Gets = new QueueDepthImpl(queue.MessageStats?.TotalMessageGets ?? 0, queue.MessageStats?.MessageGetDetails?.Value ?? 0); GetsWithoutAck = new QueueDepthImpl(queue.MessageStats?.TotalMessageGetsWithoutAck ?? 0, queue.MessageStats?.MessageGetsWithoutAckDetails?.Value ?? 0); DeliveredGets = new QueueDepthImpl(queue.MessageStats?.TotalMessageDeliveryGets ?? 0, queue.MessageStats?.MessageDeliveryGetDetails?.Value ?? 0); Delivered = new QueueDepthImpl(queue.MessageStats?.TotalMessagesDelivered ?? 0, queue.MessageStats?.MessageDeliveryDetails?.Value ?? 0); DeliveredWithoutAck = new QueueDepthImpl(queue.MessageStats?.TotalMessageDeliveredWithoutAck ?? 0, queue.MessageStats?.MessagesDeliveredWithoutAckDetails?.Value ?? 0); Redelivered = new QueueDepthImpl(queue.MessageStats?.TotalMessagesRedelivered ?? 0, queue.MessageStats?.MessagesRedeliveredDetails?.Value ?? 0); Acknowledged = new QueueDepthImpl(queue.MessageStats?.TotalMessagesAcknowledged ?? 0, queue.MessageStats?.MessagesAcknowledgedDetails?.Value ?? 0); Aggregate = new QueueDepthImpl(queue.TotalMessages, queue.MessageDetails?.Value ?? 0); Ready = new QueueDepthImpl(queue.ReadyMessages, queue.ReadyMessageDetails?.Value ?? 0); Unacknowledged = new QueueDepthImpl(queue.UnacknowledgedMessages, queue.UnacknowledgedMessageDetails?.Value ?? 0); }
public QueueChurnMetricsImpl() { Incoming = new QueueDepthImpl(768578, 3845.5M); Unacknowledged = new QueueDepthImpl(8293, 774.5M); Ready = new QueueDepthImpl(8381, 3433.5M); Gets = new QueueDepthImpl(934, 500.5M); GetsWithoutAck = new QueueDepthImpl(0, 0M); Delivered = new QueueDepthImpl(7339, 948.5M); DeliveredWithoutAck = new QueueDepthImpl(34, 5.5M); DeliveredGets = new QueueDepthImpl(0, 0M); Redelivered = new QueueDepthImpl(768578, 3845.5M); Acknowledged = new QueueDepthImpl(9238, 8934.5M); Aggregate = new QueueDepthImpl(823847, 9847.5M); }
public BrokerQueueChurnMetricsImpl(MessageStats messageStats, QueueStats queueStats) { Incoming = new QueueDepthImpl(messageStats.TotalMessagesPublished, messageStats.MessagesPublishedDetails?.Value ?? 0); NotRouted = new QueueDepthImpl(messageStats.TotalUnroutableMessages, messageStats.UnroutableMessagesDetails?.Value ?? 0); Gets = new QueueDepthImpl(messageStats.TotalMessageGets, messageStats.MessageGetDetails?.Value ?? 0); GetsWithoutAck = new QueueDepthImpl(messageStats.TotalMessageGetsWithoutAck, messageStats.MessageGetsWithoutAckDetails?.Value ?? 0); DeliveredGets = new QueueDepthImpl(messageStats.TotalMessageDeliveryGets, messageStats.MessageDeliveryGetDetails?.Value ?? 0); Delivered = new QueueDepthImpl(messageStats.TotalMessagesDelivered, messageStats.MessageDeliveryDetails?.Value ?? 0); DeliveredWithoutAck = new QueueDepthImpl(messageStats.TotalMessageDeliveredWithoutAck, messageStats.MessagesDeliveredWithoutAckDetails?.Value ?? 0); Redelivered = new QueueDepthImpl(messageStats.TotalMessagesRedelivered, messageStats.MessagesRedeliveredDetails?.Value ?? 0); Acknowledged = new QueueDepthImpl(messageStats.TotalMessagesAcknowledged, messageStats.MessagesAcknowledgedDetails?.Value ?? 0); Broker = new QueueDepthImpl(queueStats.TotalMessages, queueStats.MessageDetails?.Value ?? 0); Ready = new QueueDepthImpl(queueStats.TotalMessagesReadyForDelivery, queueStats.MessagesReadyForDeliveryDetails?.Value ?? 0); Unacknowledged = new QueueDepthImpl(queueStats.TotalUnacknowledgedDeliveredMessages, queueStats.UnacknowledgedDeliveredMessagesDetails?.Value ?? 0); }
public BrokerQueueChurnMetricsImpl() { NotRouted = new QueueDepthImpl(5); }
public QueueChurnMetricsImpl(ulong total) { Incoming = new QueueDepthImpl(total); Acknowledged = new QueueDepthImpl(total * 2); Redelivered = new QueueDepthImpl(total * 3); }
public QueueChurnMetricsImpl(ulong incomingTotal, decimal incomingRate, ulong acknowledgedTotal, decimal acknowledgedRate) { Incoming = new QueueDepthImpl(incomingTotal, incomingRate); Acknowledged = new QueueDepthImpl(acknowledgedTotal, acknowledgedRate); }
public QueueChurnMetricsImpl(ulong incomingTotal, decimal incomingRate, ulong redeliveredTotal, decimal redeliveredRate) { Incoming = new QueueDepthImpl(incomingTotal, incomingRate); Redelivered = new QueueDepthImpl(redeliveredTotal, redeliveredRate); }
public BrokerQueueChurnMetricsImpl(ulong total) { NotRouted = new QueueDepthImpl(total); }
public QueueChurnMetricsImpl(ulong total) { Incoming = new QueueDepthImpl(total); }