Jaa


ILatencyContext Interface

Definition

Abstraction that provides the context for latency measurement and diagnostics.

public interface class ILatencyContext : IDisposable
public interface ILatencyContext : IDisposable
type ILatencyContext = interface
    interface IDisposable
Public Interface ILatencyContext
Implements IDisposable
Implements

Remarks

The context ties in latency signals such as checkpoints and measures for a scope along with mechanisms such as tags that allow describing the scope. For example, a context lets you record tags, checkpoints, and measures within the scope of a web request.

Properties

LatencyData

Gets the accumulated latency data.

Methods

AddCheckpoint(CheckpointToken)

Adds a checkpoint to the context.

AddMeasure(MeasureToken, Int64)

Adds to a measure.

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

(Inherited from IDisposable)
Freeze()

Stops the latency measurement.

RecordMeasure(MeasureToken, Int64)

Sets a measure to an absolute value.

SetTag(TagToken, String)

Adds a tag to the context.

Applies to