Interface ResponseDiagnosticsProcessor
-
public interface ResponseDiagnosticsProcessorInterface for processing cosmosDB response
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidprocessResponseDiagnostics(ResponseDiagnostics responseDiagnostics)Gets called after receiving response from CosmosDb.
-
-
-
Method Detail
-
processResponseDiagnostics
void processResponseDiagnostics(@Nullable ResponseDiagnostics responseDiagnostics)Gets called after receiving response from CosmosDb. Response Diagnostics are collected from API responses and then set inResponseDiagnosticsobject.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
-
-