你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ThroughputResponse Class

public class ThroughputResponse
extends CosmosResponse<ThroughputProperties>

The cosmos throughput response.

Method Summary

Modifier and Type Method and Description
int getMinThroughput()

Gets minimum throughput in measurement of request units per second in the Azure Cosmos service.

ThroughputProperties getProperties()

Gets properties.

boolean isReplacePending()

Gets the status whether offer replace is successful or pending.

Methods inherited from CosmosResponse

Methods inherited from java.lang.Object

Method Details

getMinThroughput

public int getMinThroughput()

Gets minimum throughput in measurement of request units per second in the Azure Cosmos service.

Returns:

the minimun throughput

getProperties

public ThroughputProperties getProperties()

Gets properties.

Overrides:

ThroughputResponse.getProperties()

isReplacePending

public boolean isReplacePending()

Gets the status whether offer replace is successful or pending.

Returns:

the boolean representing the status

Applies to