1 instantiation of Statistics
Aspire.Confluent.Kafka (1)
StatisticsJsonSerializerContext.Statistics.g.cs (1)
31
ObjectCreator = () => new global::Aspire.Confluent.Kafka.
Statistics
(),
121 references to Statistics
Aspire.Confluent.Kafka (121)
MetricsService.cs (3)
15
private readonly Dictionary<string,
Statistics
> _state = new();
23
Statistics
? statistics;
52
if (_state.TryGetValue(statistics.Name, out
var
previous))
Statistics.cs (1)
57
[JsonSerializable(typeof(
Statistics
))]
StatisticsJsonSerializerContext.GetJsonTypeInfo.g.cs (1)
22
if (type == typeof(global::Aspire.Confluent.Kafka.
Statistics
))
StatisticsJsonSerializerContext.Statistics.g.cs (116)
13
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Confluent.Kafka.
Statistics
>? _Statistics;
19
public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Confluent.Kafka.
Statistics
> Statistics
22
get => _Statistics ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Confluent.Kafka.
Statistics
>)Options.GetTypeInfo(typeof(global::Aspire.Confluent.Kafka.
Statistics
));
25
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Confluent.Kafka.
Statistics
> Create_Statistics(global::System.Text.Json.JsonSerializerOptions options)
27
if (!TryGetTypeInfoForRuntimeCustomConverter<global::Aspire.Confluent.Kafka.
Statistics
>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Confluent.Kafka.
Statistics
> jsonTypeInfo))
29
var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Aspire.Confluent.Kafka.
Statistics
>
35
ConstructorAttributeProviderFactory = static () => typeof(global::Aspire.Confluent.Kafka.
Statistics
).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null),
39
jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Aspire.Confluent.Kafka.
Statistics
>(options, objectInfo);
56
DeclaringType = typeof(global::Aspire.Confluent.Kafka.
Statistics
),
58
Getter = static obj => ((global::Aspire.Confluent.Kafka.
Statistics
)obj).Name,
59
Setter = static (obj, value) => ((global::Aspire.Confluent.Kafka.
Statistics
)obj).Name = value!,
66
AttributeProviderFactory = static () => typeof(global::Aspire.Confluent.Kafka.
Statistics
).GetProperty("Name", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
76
DeclaringType = typeof(global::Aspire.Confluent.Kafka.
Statistics
),
78
Getter = static obj => ((global::Aspire.Confluent.Kafka.
Statistics
)obj).ClientId,
79
Setter = static (obj, value) => ((global::Aspire.Confluent.Kafka.
Statistics
)obj).ClientId = value!,
86
AttributeProviderFactory = static () => typeof(global::Aspire.Confluent.Kafka.
Statistics
).GetProperty("ClientId", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
96
DeclaringType = typeof(global::Aspire.Confluent.Kafka.
Statistics
),
98
Getter = static obj => ((global::Aspire.Confluent.Kafka.
Statistics
)obj).Type,
99
Setter = static (obj, value) => ((global::Aspire.Confluent.Kafka.
Statistics
)obj).Type = value!,
106
AttributeProviderFactory = static () => typeof(global::Aspire.Confluent.Kafka.
Statistics
).GetProperty("Type", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
116
DeclaringType = typeof(global::Aspire.Confluent.Kafka.
Statistics
),
118
Getter = static obj => ((global::Aspire.Confluent.Kafka.
Statistics
)obj).Timestamp,
119
Setter = static (obj, value) => ((global::Aspire.Confluent.Kafka.
Statistics
)obj).Timestamp = value!,
126
AttributeProviderFactory = static () => typeof(global::Aspire.Confluent.Kafka.
Statistics
).GetProperty("Timestamp", InstanceMemberBindingFlags, null, typeof(long), global::System.Array.Empty<global::System.Type>(), null),
136
DeclaringType = typeof(global::Aspire.Confluent.Kafka.
Statistics
),
138
Getter = static obj => ((global::Aspire.Confluent.Kafka.
Statistics
)obj).Time,
139
Setter = static (obj, value) => ((global::Aspire.Confluent.Kafka.
Statistics
)obj).Time = value!,
146
AttributeProviderFactory = static () => typeof(global::Aspire.Confluent.Kafka.
Statistics
).GetProperty("Time", InstanceMemberBindingFlags, null, typeof(long), global::System.Array.Empty<global::System.Type>(), null),
156
DeclaringType = typeof(global::Aspire.Confluent.Kafka.
Statistics
),
158
Getter = static obj => ((global::Aspire.Confluent.Kafka.
Statistics
)obj).Age,
159
Setter = static (obj, value) => ((global::Aspire.Confluent.Kafka.
Statistics
)obj).Age = value!,
166
AttributeProviderFactory = static () => typeof(global::Aspire.Confluent.Kafka.
Statistics
).GetProperty("Age", InstanceMemberBindingFlags, null, typeof(long), global::System.Array.Empty<global::System.Type>(), null),
176
DeclaringType = typeof(global::Aspire.Confluent.Kafka.
Statistics
),
178
Getter = static obj => ((global::Aspire.Confluent.Kafka.
Statistics
)obj).ReplyQueue,
179
Setter = static (obj, value) => ((global::Aspire.Confluent.Kafka.
Statistics
)obj).ReplyQueue = value!,
186
AttributeProviderFactory = static () => typeof(global::Aspire.Confluent.Kafka.
Statistics
).GetProperty("ReplyQueue", InstanceMemberBindingFlags, null, typeof(long), global::System.Array.Empty<global::System.Type>(), null),
196
DeclaringType = typeof(global::Aspire.Confluent.Kafka.
Statistics
),
198
Getter = static obj => ((global::Aspire.Confluent.Kafka.
Statistics
)obj).MessageCount,
199
Setter = static (obj, value) => ((global::Aspire.Confluent.Kafka.
Statistics
)obj).MessageCount = value!,
206
AttributeProviderFactory = static () => typeof(global::Aspire.Confluent.Kafka.
Statistics
).GetProperty("MessageCount", InstanceMemberBindingFlags, null, typeof(long), global::System.Array.Empty<global::System.Type>(), null),
216
DeclaringType = typeof(global::Aspire.Confluent.Kafka.
Statistics
),
218
Getter = static obj => ((global::Aspire.Confluent.Kafka.
Statistics
)obj).MessageSize,
219
Setter = static (obj, value) => ((global::Aspire.Confluent.Kafka.
Statistics
)obj).MessageSize = value!,
226
AttributeProviderFactory = static () => typeof(global::Aspire.Confluent.Kafka.
Statistics
).GetProperty("MessageSize", InstanceMemberBindingFlags, null, typeof(long), global::System.Array.Empty<global::System.Type>(), null),
236
DeclaringType = typeof(global::Aspire.Confluent.Kafka.
Statistics
),
238
Getter = static obj => ((global::Aspire.Confluent.Kafka.
Statistics
)obj).MessageMax,
239
Setter = static (obj, value) => ((global::Aspire.Confluent.Kafka.
Statistics
)obj).MessageMax = value!,
246
AttributeProviderFactory = static () => typeof(global::Aspire.Confluent.Kafka.
Statistics
).GetProperty("MessageMax", InstanceMemberBindingFlags, null, typeof(long), global::System.Array.Empty<global::System.Type>(), null),
256
DeclaringType = typeof(global::Aspire.Confluent.Kafka.
Statistics
),
258
Getter = static obj => ((global::Aspire.Confluent.Kafka.
Statistics
)obj).MessageSizeMax,
259
Setter = static (obj, value) => ((global::Aspire.Confluent.Kafka.
Statistics
)obj).MessageSizeMax = value!,
266
AttributeProviderFactory = static () => typeof(global::Aspire.Confluent.Kafka.
Statistics
).GetProperty("MessageSizeMax", InstanceMemberBindingFlags, null, typeof(long), global::System.Array.Empty<global::System.Type>(), null),
276
DeclaringType = typeof(global::Aspire.Confluent.Kafka.
Statistics
),
278
Getter = static obj => ((global::Aspire.Confluent.Kafka.
Statistics
)obj).Tx,
279
Setter = static (obj, value) => ((global::Aspire.Confluent.Kafka.
Statistics
)obj).Tx = value!,
286
AttributeProviderFactory = static () => typeof(global::Aspire.Confluent.Kafka.
Statistics
).GetProperty("Tx", InstanceMemberBindingFlags, null, typeof(long), global::System.Array.Empty<global::System.Type>(), null),
296
DeclaringType = typeof(global::Aspire.Confluent.Kafka.
Statistics
),
298
Getter = static obj => ((global::Aspire.Confluent.Kafka.
Statistics
)obj).TxBytes,
299
Setter = static (obj, value) => ((global::Aspire.Confluent.Kafka.
Statistics
)obj).TxBytes = value!,
306
AttributeProviderFactory = static () => typeof(global::Aspire.Confluent.Kafka.
Statistics
).GetProperty("TxBytes", InstanceMemberBindingFlags, null, typeof(long), global::System.Array.Empty<global::System.Type>(), null),
316
DeclaringType = typeof(global::Aspire.Confluent.Kafka.
Statistics
),
318
Getter = static obj => ((global::Aspire.Confluent.Kafka.
Statistics
)obj).Rx,
319
Setter = static (obj, value) => ((global::Aspire.Confluent.Kafka.
Statistics
)obj).Rx = value!,
326
AttributeProviderFactory = static () => typeof(global::Aspire.Confluent.Kafka.
Statistics
).GetProperty("Rx", InstanceMemberBindingFlags, null, typeof(long), global::System.Array.Empty<global::System.Type>(), null),
336
DeclaringType = typeof(global::Aspire.Confluent.Kafka.
Statistics
),
338
Getter = static obj => ((global::Aspire.Confluent.Kafka.
Statistics
)obj).RxBytes,
339
Setter = static (obj, value) => ((global::Aspire.Confluent.Kafka.
Statistics
)obj).RxBytes = value!,
346
AttributeProviderFactory = static () => typeof(global::Aspire.Confluent.Kafka.
Statistics
).GetProperty("RxBytes", InstanceMemberBindingFlags, null, typeof(long), global::System.Array.Empty<global::System.Type>(), null),
356
DeclaringType = typeof(global::Aspire.Confluent.Kafka.
Statistics
),
358
Getter = static obj => ((global::Aspire.Confluent.Kafka.
Statistics
)obj).TxMessages,
359
Setter = static (obj, value) => ((global::Aspire.Confluent.Kafka.
Statistics
)obj).TxMessages = value!,
366
AttributeProviderFactory = static () => typeof(global::Aspire.Confluent.Kafka.
Statistics
).GetProperty("TxMessages", InstanceMemberBindingFlags, null, typeof(long), global::System.Array.Empty<global::System.Type>(), null),
376
DeclaringType = typeof(global::Aspire.Confluent.Kafka.
Statistics
),
378
Getter = static obj => ((global::Aspire.Confluent.Kafka.
Statistics
)obj).TxMessageBytes,
379
Setter = static (obj, value) => ((global::Aspire.Confluent.Kafka.
Statistics
)obj).TxMessageBytes = value!,
386
AttributeProviderFactory = static () => typeof(global::Aspire.Confluent.Kafka.
Statistics
).GetProperty("TxMessageBytes", InstanceMemberBindingFlags, null, typeof(long), global::System.Array.Empty<global::System.Type>(), null),
396
DeclaringType = typeof(global::Aspire.Confluent.Kafka.
Statistics
),
398
Getter = static obj => ((global::Aspire.Confluent.Kafka.
Statistics
)obj).RxMessages,
399
Setter = static (obj, value) => ((global::Aspire.Confluent.Kafka.
Statistics
)obj).RxMessages = value!,
406
AttributeProviderFactory = static () => typeof(global::Aspire.Confluent.Kafka.
Statistics
).GetProperty("RxMessages", InstanceMemberBindingFlags, null, typeof(long), global::System.Array.Empty<global::System.Type>(), null),
416
DeclaringType = typeof(global::Aspire.Confluent.Kafka.
Statistics
),
418
Getter = static obj => ((global::Aspire.Confluent.Kafka.
Statistics
)obj).RxMessageBytes,
419
Setter = static (obj, value) => ((global::Aspire.Confluent.Kafka.
Statistics
)obj).RxMessageBytes = value!,
426
AttributeProviderFactory = static () => typeof(global::Aspire.Confluent.Kafka.
Statistics
).GetProperty("RxMessageBytes", InstanceMemberBindingFlags, null, typeof(long), global::System.Array.Empty<global::System.Type>(), null),
436
DeclaringType = typeof(global::Aspire.Confluent.Kafka.
Statistics
),
438
Getter = static obj => ((global::Aspire.Confluent.Kafka.
Statistics
)obj).SimpleCount,
439
Setter = static (obj, value) => ((global::Aspire.Confluent.Kafka.
Statistics
)obj).SimpleCount = value!,
446
AttributeProviderFactory = static () => typeof(global::Aspire.Confluent.Kafka.
Statistics
).GetProperty("SimpleCount", InstanceMemberBindingFlags, null, typeof(long), global::System.Array.Empty<global::System.Type>(), null),
456
DeclaringType = typeof(global::Aspire.Confluent.Kafka.
Statistics
),
458
Getter = static obj => ((global::Aspire.Confluent.Kafka.
Statistics
)obj).MetadataCacheCount,
459
Setter = static (obj, value) => ((global::Aspire.Confluent.Kafka.
Statistics
)obj).MetadataCacheCount = value!,
466
AttributeProviderFactory = static () => typeof(global::Aspire.Confluent.Kafka.
Statistics
).GetProperty("MetadataCacheCount", InstanceMemberBindingFlags, null, typeof(long), global::System.Array.Empty<global::System.Type>(), null),
476
private void StatisticsSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Aspire.Confluent.Kafka.
Statistics
? value)
486
writer.WriteString(PropName_name, ((global::Aspire.Confluent.Kafka.
Statistics
)value).Name);
487
writer.WriteString(PropName_client_id, ((global::Aspire.Confluent.Kafka.
Statistics
)value).ClientId);
488
writer.WriteString(PropName_type, ((global::Aspire.Confluent.Kafka.
Statistics
)value).Type);
489
writer.WriteNumber(PropName_ts, ((global::Aspire.Confluent.Kafka.
Statistics
)value).Timestamp);
490
writer.WriteNumber(PropName_time, ((global::Aspire.Confluent.Kafka.
Statistics
)value).Time);
491
writer.WriteNumber(PropName_age, ((global::Aspire.Confluent.Kafka.
Statistics
)value).Age);
492
writer.WriteNumber(PropName_replyq, ((global::Aspire.Confluent.Kafka.
Statistics
)value).ReplyQueue);
493
writer.WriteNumber(PropName_msg_cnt, ((global::Aspire.Confluent.Kafka.
Statistics
)value).MessageCount);
494
writer.WriteNumber(PropName_msg_size, ((global::Aspire.Confluent.Kafka.
Statistics
)value).MessageSize);
495
writer.WriteNumber(PropName_msg_max, ((global::Aspire.Confluent.Kafka.
Statistics
)value).MessageMax);
496
writer.WriteNumber(PropName_msg_size_max, ((global::Aspire.Confluent.Kafka.
Statistics
)value).MessageSizeMax);
497
writer.WriteNumber(PropName_tx, ((global::Aspire.Confluent.Kafka.
Statistics
)value).Tx);
498
writer.WriteNumber(PropName_tx_bytes, ((global::Aspire.Confluent.Kafka.
Statistics
)value).TxBytes);
499
writer.WriteNumber(PropName_rx, ((global::Aspire.Confluent.Kafka.
Statistics
)value).Rx);
500
writer.WriteNumber(PropName_rx_bytes, ((global::Aspire.Confluent.Kafka.
Statistics
)value).RxBytes);
501
writer.WriteNumber(PropName_txmsgs, ((global::Aspire.Confluent.Kafka.
Statistics
)value).TxMessages);
502
writer.WriteNumber(PropName_txmsg_bytes, ((global::Aspire.Confluent.Kafka.
Statistics
)value).TxMessageBytes);
503
writer.WriteNumber(PropName_rxmsgs, ((global::Aspire.Confluent.Kafka.
Statistics
)value).RxMessages);
504
writer.WriteNumber(PropName_rxmsg_bytes, ((global::Aspire.Confluent.Kafka.
Statistics
)value).RxMessageBytes);
505
writer.WriteNumber(PropName_simple_cnt, ((global::Aspire.Confluent.Kafka.
Statistics
)value).SimpleCount);
506
writer.WriteNumber(PropName_metadata_cache_cnt, ((global::Aspire.Confluent.Kafka.
Statistics
)value).MetadataCacheCount);