Class: LatencyRecord

LatencyRecord(latencyContext)

Records latency measurement timestamps for a KDC Agent. A LatencyRecord maintains start and stop timelines for the latency metrics defined by its associated context. Each metric occupies a corresponding position in both timelines. The context determines the available metrics and their ordering. The startTimeLine, stopTimeLine, and latencyContext properties form part of the serialized KDC wire contract. The runtime context reference is maintained separately and is excluded from normal property enumeration.

Constructor

new LatencyRecord(latencyContext)

Creates a latency record for the specified context. Both timelines are initialized to zero for every metric defined by the context.
Parameters:
Name Type Description
latencyContext * Context defining the available latency metrics. Must provide size(), indexOf(), and name.
Throws:
If latencyContext is null.
Type
TypeError

Classes

LatencyRecord

Members

latencyContext :string

Name of the latency context associated with this record.
Type:
  • string

startTimeLine :Array.<number>

Start timestamps for each latency metric. Array positions correspond to the metric ordering defined by the latency context.
Type:
  • Array.<number>

stopTimeLine :Array.<number>

Stop timestamps for each latency metric. Array positions correspond to the metric ordering defined by the latency context.
Type:
  • Array.<number>