IntelligenceX

API Reference

Class

UsageImportContext

Namespace IntelligenceX.Telemetry.Usage
Assembly IntelligenceX
Modifiers sealed

Import context shared across adapters.

Inheritance

  • Object
  • UsageImportContext

Constructors

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 Nullable<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; 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.