Uses of Class
com.azure.cosmos.CosmosDiagnosticsContext
Package
Description
This package provides interfaces for interacting with Azure Cosmos DB.
-
Uses of CosmosDiagnosticsContext in com.azure.cosmos
Modifier and TypeMethodDescriptionCosmosDiagnostics.getDiagnosticsContext()
Returns the associated CosmosDiagnosticsContext or null if not associated with any context yet.Modifier and TypeMethodDescriptionvoid
CosmosDiagnosticsHandler.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.