你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ResponseDiagnosticsProcessor Interface

public interface ResponseDiagnosticsProcessor

Interface for processing cosmosDB response

Method Summary

Modifier and Type Method and Description
abstract void processResponseDiagnostics(ResponseDiagnostics responseDiagnostics)

Gets called after receiving response from CosmosDb.

Method Details

processResponseDiagnostics

public abstract void processResponseDiagnostics(ResponseDiagnostics responseDiagnostics)

Gets called after receiving response from CosmosDb. Response Diagnostics are collected from API responses and then set in ResponseDiagnostics object.

In case of missing diagnostics from CosmosDb, responseDiagnostics will be null.

NOTE: Since processResponseDiagnostics() API will get called in every cosmos spring data implementation API to capture the diagnostics details, it is highly recommended to not have any long running / CPU intensive work in the implementation of this API.

Parameters:

responseDiagnostics - responseDiagnostics object containing CosmosDb response diagnostics information

Applies to