Uses of Class
com.azure.cosmos.CosmosDiagnosticsContext
Packages that use CosmosDiagnosticsContext
Package
Description
This package provides interfaces for interacting with Azure Cosmos DB.
-
Uses of CosmosDiagnosticsContext in com.azure.cosmos
Methods in com.azure.cosmos that return CosmosDiagnosticsContextModifier and TypeMethodDescriptionCosmosDiagnostics.getDiagnosticsContext()Returns the associated CosmosDiagnosticsContext or null if not associated with any context yet.Methods in com.azure.cosmos with parameters of type CosmosDiagnosticsContextModifier and TypeMethodDescriptionvoidCosmosDiagnosticsHandler.handleDiagnostics(CosmosDiagnosticsContext diagnosticsContext, com.azure.core.util.Context traceContext) This method will be invoked when an operation completed (successfully or failed) to allow diagnostic handlers to emit the diagnostics NOTE: Any code in handleDiagnostics should not execute any I/O operations, do thread switches or execute CPU intense work - if needed a diagnostics handler should queue this work asynchronously.