你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ResponseDiagnostics Class
- java.
lang. Object - com.
azure. spring. data. cosmos. core. ResponseDiagnostics
- com.
public class ResponseDiagnostics
Diagnostics class of cosmos and feed response
NOTE: activityId will be null in case of cross partition queries
Constructor Summary
Constructor | Description |
---|---|
ResponseDiagnostics(CosmosDiagnostics cosmosDiagnostics, ResponseDiagnostics.CosmosResponseStatistics cosmosResponseStatistics) |
Initialization |
Method Summary
Modifier and Type | Method and Description |
---|---|
Cosmos |
getCosmosDiagnostics()
To get diagnostics of cosmos response |
Cosmos |
getCosmosResponseStatistics()
To get the statistics value of cosmos response |
String | toString() |
Methods inherited from java.lang.Object
Constructor Details
ResponseDiagnostics
public ResponseDiagnostics(CosmosDiagnostics cosmosDiagnostics, ResponseDiagnostics.CosmosResponseStatistics cosmosResponseStatistics)
Initialization
Parameters:
Method Details
getCosmosDiagnostics
public CosmosDiagnostics getCosmosDiagnostics()
To get diagnostics of cosmos response
Returns:
getCosmosResponseStatistics
public ResponseDiagnostics.CosmosResponseStatistics getCosmosResponseStatistics()
To get the statistics value of cosmos response
Returns:
toString
public String toString()
Overrides:
ResponseDiagnostics.toString()