Uses of Interface
com.azure.spring.data.cosmos.core.ResponseDiagnosticsProcessor
Package
Description
This package contains the classes of utils for cosmosdb
This package contains the classes to configure properties of cosmos db
This package contains the exception classes of cosmos db
-
Uses of ResponseDiagnosticsProcessor in com.azure.spring.data.cosmos.common
Modifier and TypeMethodDescriptionstatic void
CosmosUtils.fillAndProcessCosmosExceptionDiagnostics
(ResponseDiagnosticsProcessor responseDiagnosticsProcessor, CosmosException cosmosException) Generate ResponseDiagnostics with CosmosException diagnosticsstatic <T> void
CosmosUtils.fillAndProcessResponseDiagnostics
(ResponseDiagnosticsProcessor responseDiagnosticsProcessor, CosmosDiagnostics cosmosDiagnostics, FeedResponse<T> feedResponse) Generate ResponseDiagnostics with cosmos and feed response diagnostics -
Uses of ResponseDiagnosticsProcessor in com.azure.spring.data.cosmos.config
Modifier and TypeMethodDescriptionCosmosConfig.getResponseDiagnosticsProcessor()
Gets response diagnostics processorModifier and TypeMethodDescriptionCosmosConfig.CosmosConfigBuilder.responseDiagnosticsProcessor
(ResponseDiagnosticsProcessor responseDiagnosticsProcessor) Set responseDiagnosticsProcessorModifierConstructorDescriptionCosmosConfig
(ResponseDiagnosticsProcessor responseDiagnosticsProcessor, boolean queryMetricsEnabled) InitializationCosmosConfig
(ResponseDiagnosticsProcessor responseDiagnosticsProcessor, DatabaseThroughputConfig databaseThroughputConfig, boolean queryMetricsEnabled) Initialization -
Uses of ResponseDiagnosticsProcessor in com.azure.spring.data.cosmos.exception
Modifier and TypeMethodDescriptionstatic <T> Mono<T>
CosmosExceptionUtils.exceptionHandler
(String message, Throwable throwable, ResponseDiagnosticsProcessor responseDiagnosticsProcessor) To throw a CosmosDBAccessExceptionstatic <T> Mono<T>
CosmosExceptionUtils.findAPIExceptionHandler
(String message, Throwable throwable, ResponseDiagnosticsProcessor responseDiagnosticsProcessor) To find an exceptionHandler for a exception and return empty Mono if the exception status code is not found