API reference
API reference
Select your platform
No SDKs available
No versions available

ConduitStatistics Class

Aggregates and persists Conduit statistics.

Overview

Properties

Guid
Id[Get]
A randomly generated ID representing at telemetry report.
int
Number of successful generations since last reset.
Dictionary< string, int >
Holds the frequency of method signatures. Key is signatures in the form: [ReturnTypeId]-[TypeId]:[FrequencyOfType],[TypeId]:[FrequencyOfType]. Value is the number of times this signature was encountered in the last extraction process.
Dictionary< string, int >
Similar to SignatureFrequency but for incompatible methods.

Public Member Functions

ConduitStatistics
( IPersistenceLayer persistenceLayer )
void
AddFrequencies
( Dictionary< string, int > sourceFrequencies )
Adds the supplied frequencies to the current collection.
void
AddIncompatibleFrequencies
( Dictionary< string, int > sourceFrequencies )
Adds the supplied incompatible method frequencies to the current collection.
void
Persist ( )
Persists the statistics to local storage.
void
Load ( )
Loads the statistics from local storage.

Details

Properties

Guid Meta.Conduit.Editor.ConduitStatistics.Id
A randomly generated ID representing at telemetry report.
int Meta.Conduit.Editor.ConduitStatistics.SuccessfulGenerations
Number of successful generations since last reset.
Dictionary<string, int> Meta.Conduit.Editor.ConduitStatistics.SignatureFrequency
Holds the frequency of method signatures. Key is signatures in the form: [ReturnTypeId]-[TypeId]:[FrequencyOfType],[TypeId]:[FrequencyOfType]. Value is the number of times this signature was encountered in the last extraction process.
Dictionary<string, int> Meta.Conduit.Editor.ConduitStatistics.IncompatibleSignatureFrequency
Similar to SignatureFrequency but for incompatible methods.

Member Functions

Meta.Conduit.Editor.ConduitStatistics.ConduitStatistics
( IPersistenceLayer persistenceLayer )
No description available.
void Meta.Conduit.Editor.ConduitStatistics.AddFrequencies
( Dictionary< string, int > sourceFrequencies )
Adds the supplied frequencies to the current collection.
Parameters
sourceFrequencies
The frequencies to add.
void Meta.Conduit.Editor.ConduitStatistics.AddIncompatibleFrequencies
( Dictionary< string, int > sourceFrequencies )
Adds the supplied incompatible method frequencies to the current collection.
Parameters
sourceFrequencies
The frequencies to add.
void Meta.Conduit.Editor.ConduitStatistics.Persist ( )
Persists the statistics to local storage.
void Meta.Conduit.Editor.ConduitStatistics.Load ( )
Loads the statistics from local storage.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon