public class CosmosResponse<T extends Resource> extends Object
Modifier and Type | Method and Description |
---|---|
String |
activityId()
Gets the Activity ID for the request.
|
CosmosResponseDiagnostics |
cosmosResponseDiagnosticsString()
Gets the diagnostics information for the current request to Azure Cosmos DB service.
|
String |
currentResourceQuotaUsage()
Gets the current size of this entity (in megabytes (MB) for server resources and in count for master resources)
|
String |
maxResourceQuota()
Gets the maximum size limit for this entity (in megabytes (MB) for server resources and in count for master
resources).
|
double |
requestCharge()
Gets the number of index paths (terms) generated by the operation.
|
Duration |
requestLatency()
Gets the end-to-end request latency for the current request to Azure Cosmos DB service.
|
Map<String,String> |
responseHeaders()
Gets the headers associated with the response.
|
String |
sessionToken()
Gets the token used for managing client's consistency requirements.
|
int |
statusCode()
Gets the HTTP status code associated with the response.
|
public String maxResourceQuota()
public String currentResourceQuotaUsage()
public String activityId()
public double requestCharge()
public int statusCode()
public String sessionToken()
public Map<String,String> responseHeaders()
public CosmosResponseDiagnostics cosmosResponseDiagnosticsString()
public Duration requestLatency()
Copyright © 2019. All rights reserved.