StubPerformanceClient class

Yöntem Ayrıntıları

addFields()

function addFields()

addPerformanceCallback()

function addPerformanceCallback(): string

Döndürülenler

string

addQueueMeasurement()

function addQueueMeasurement()

cacheEventByCorrelationId()

function cacheEventByCorrelationId()

calculateQueuedTime()

function calculateQueuedTime(): number

Döndürülenler

number

discardMeasurements()

function discardMeasurements()

emitEvents()

function emitEvents()

endMeasurement()

function endMeasurement(): null | PerformanceEvent

Döndürülenler

generateId()

function generateId(): string

Döndürülenler

string

incrementFields()

function incrementFields()

removePerformanceCallback()

function removePerformanceCallback(): boolean

Döndürülenler

boolean

setPreQueueTime()

function setPreQueueTime()

startMeasurement(string, string)

function startMeasurement(measureName: string, correlationId?: string): InProgressPerformanceEvent

Parametreler

measureName

string

correlationId

string

Döndürülenler

startPerformanceMeasurement()

Uyarı

Bu API artık kullanım dışıdır.

This method will be removed in the next major version

function startPerformanceMeasurement(): IPerformanceMeasurement

Döndürülenler