public static void QueueNetworkWrite(KafkaEndpoint endpoint, KafkaDataPayload payload) { if (payload.TrackPayload == false) return; var stat = new NetworkWriteStatistic(endpoint, payload); NetworkWriteQueuedIndex.TryAdd(payload.CorrelationId, stat); Interlocked.Increment(ref Gauges.QueuedWriteOperation); }
public static void QueueNetworkWrite(KafkaEndpoint endpoint, KafkaDataPayload payload) { if (payload.TrackPayload == false) { return; } var stat = new NetworkWriteStatistic(endpoint, payload); NetworkWriteQueuedIndex.TryAdd(payload.CorrelationId, stat); Interlocked.Increment(ref Gauges.QueuedWriteOperation); }