IntelligenceX

API Reference

Class

UsageImportContext

Namespace IntelligenceX.Telemetry.Usage
Assembly IntelligenceX
Modifiers sealed

Import context shared across adapters.

Inheritance

  • Object
  • UsageImportContext

Usage

Explore 7 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters 7

Constructors

public UsageImportContext() #

Methods

public Boolean TryBeginArtifact() #
Returns: Boolean

Attempts to reserve capacity for parsing one more artifact.

Properties

public String? ParserVersion { get; set; } #

Gets or sets the parser version for imported artifacts.

public String? MachineId { get; set; } #

Gets or sets the optional machine identifier for imported events.

public IUsageAccountResolver? AccountResolver { get; set; } #

Gets or sets the optional account resolver.

public IRawArtifactStore? RawArtifactStore { get; set; } #

Gets or sets the optional raw-artifact store used for incremental imports.

public Boolean ForceReimport { get; set; } #

Gets or sets a value indicating whether unchanged artifacts should be reparsed.

public Action<UsageImportProgressUpdate>? Progress { get; set; } #

Gets or sets an optional progress callback for long-running discovery/import flows.

public Boolean PreferRecentArtifacts { get; set; } #

Gets or sets a value indicating whether adapters should prefer newer artifacts first.

public Int32? MaxArtifacts { get; set; } #

Gets or sets the optional maximum number of artifacts that adapters may parse during this import run.

public Int32 ArtifactsProcessed { get; } #

Gets the number of artifacts consumed by the current import run.

public Boolean ArtifactBudgetReached { get; private set; } #

Gets a value indicating whether the import stopped early because the artifact budget was exhausted.

public Func<DateTimeOffset> UtcNow { get; set; } #

Gets or sets the UTC clock provider.