Kinetica   C#   API  Version 7.2.3.1
Example.MetricsCollector< T > Class Template Reference

Collects and aggregates metrics from a BulkInserter. More...

Public Member Functions

 MetricsCollector (BulkInserter< T > inserter)
 
DashboardMetrics Collect ()
 Collect current metrics snapshot from the BulkInserter. More...
 
double GetAvgThroughput ()
 

Detailed Description

Collects and aggregates metrics from a BulkInserter.

The collector does NOT own the BulkInserter and does NOT interfere with insert operations.

Type Constraints
T :IShardKeyExtractor 
T :new() 

Definition at line 86 of file BulkInserterDashboard.cs.

Constructor & Destructor Documentation

◆ MetricsCollector()

Example.MetricsCollector< T >.MetricsCollector ( BulkInserter< T >  inserter)
inline

Definition at line 101 of file BulkInserterDashboard.cs.

Member Function Documentation

◆ Collect()

DashboardMetrics Example.MetricsCollector< T >.Collect ( )
inline

Collect current metrics snapshot from the BulkInserter.

This method is thread-safe and does not interfere with insert operations.

Definition at line 112 of file BulkInserterDashboard.cs.

◆ GetAvgThroughput()

double Example.MetricsCollector< T >.GetAvgThroughput ( )
inline

Definition at line 192 of file BulkInserterDashboard.cs.


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