Interface ResponseDiagnosticsProcessor
public interface ResponseDiagnosticsProcessor
Interface for processing cosmosDB response
-
Method Summary
Modifier and TypeMethodDescriptionvoid
processResponseDiagnostics
(ResponseDiagnostics responseDiagnostics) Gets called after receiving response from CosmosDb.
-
Method Details
-
processResponseDiagnostics
Gets called after receiving response from CosmosDb. Response Diagnostics are collected from API responses and then set inResponseDiagnostics
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
-