<PackageReference Include="OpenTelemetry" Version="1.15.2" />

OpenTelemetry.Internal.PeriodicExportingMetricReaderWorker

Abstract base class for periodic exporting metric reader workers that handle the threading and synchronization logic.
namespace OpenTelemetry.Internal { internal abstract class PeriodicExportingMetricReaderWorker : IDisposable { protected BaseExportingMetricReader MetricReader { get; } protected int ExportIntervalMilliseconds { get; } protected int ExportTimeoutMilliseconds { get; } protected PeriodicExportingMetricReaderWorker(BaseExportingMetricReader metricReader, int exportIntervalMilliseconds, int exportTimeoutMilliseconds); public abstract void Start(); public abstract bool TriggerExport(); public abstract bool Shutdown(int timeoutMilliseconds); public void Dispose(); protected virtual void Dispose(bool disposing); } }