StubPerformanceClient class

Сведения о методе

addFields()

function addFields()

addPerformanceCallback()

function addPerformanceCallback(): string

Возвращаемое значение

string

addQueueMeasurement()

function addQueueMeasurement()

cacheEventByCorrelationId()

function cacheEventByCorrelationId()

calculateQueuedTime()

function calculateQueuedTime(): number

Возвращаемое значение

number

discardMeasurements()

function discardMeasurements()

emitEvents()

function emitEvents()

endMeasurement()

function endMeasurement(): null | PerformanceEvent

Возвращаемое значение

generateId()

function generateId(): string

Возвращаемое значение

string

incrementFields()

function incrementFields()

removePerformanceCallback()

function removePerformanceCallback(): boolean

Возвращаемое значение

boolean

setPreQueueTime()

function setPreQueueTime()

startMeasurement(string, string)

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

Параметры

measureName

string

correlationId

string

Возвращаемое значение

startPerformanceMeasurement()

Предупреждение

Теперь этот API является нерекомендуемым.

This method will be removed in the next major version

function startPerformanceMeasurement(): IPerformanceMeasurement

Возвращаемое значение