public interface ResponseDiagnosticsProcessor
| Modifier and Type | Method and Description |
|---|---|
void |
processResponseDiagnostics(ResponseDiagnostics responseDiagnostics)
Gets called after receiving response from CosmosDb.
|
void processResponseDiagnostics(@Nullable
ResponseDiagnostics responseDiagnostics)
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.
responseDiagnostics - responseDiagnostics object containing CosmosDb response diagnostics informationCopyright © 2021 Microsoft Corporation. All rights reserved.