Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.Diagnostics.Metrics.AggregatorStore< TAggregator > Struct Template Reference

Public Member Functions

 AggregatorStore (Func< TAggregator > createAggregator)
 
TAggregator GetAggregator (ReadOnlySpan< KeyValuePair< string, object > > labels)
 
void Collect (Action< LabeledAggregationStatistics > visitFunc)
 
TAggregator GetAggregator ()
 
ConcurrentDictionary< TObjectSequence, TAggregator > GetLabelValuesDictionary< TStringSequence, TObjectSequence > (in TStringSequence names)
 

Private Member Functions

TAggregator GetAggregatorSlow (ReadOnlySpan< KeyValuePair< string, object > > labels)
 

Private Attributes

volatile object _stateUnion
 
volatile AggregatorLookupFunc< TAggregator > _cachedLookupFunc
 
readonly Func< TAggregator > _createAggregatorFunc
 

Detailed Description

Type Constraints
TAggregator :Aggregator 

Definition at line 7 of file AggregatorStore.cs.


The documentation for this struct was generated from the following file: