Uses of Class
com.azure.cosmos.CosmosDiagnosticsContext
Package
Description
This package provides interfaces for interacting with Azure Cosmos DB.
This package provides rest contracts for interacting with Azure Cosmos DB SQL APIs.
-
Uses of CosmosDiagnosticsContext in com.azure.cosmos
Modifier and TypeMethodDescriptiondefault CosmosDiagnosticsContext
ChangeFeedProcessorContext.getDiagnostics()
Get the diagnostics context from the underlying feed response.CosmosDiagnostics.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. -
Uses of CosmosDiagnosticsContext in com.azure.cosmos.models
Modifier and TypeMethodDescriptionCosmosOperationDetails.getDiagnosticsContext()
Gets the diagnostics context associated with an operation.