GlobalThroughputControlConfig Class
- java.
lang. Object - com.
azure. cosmos. GlobalThroughputControlConfig
- com.
public class GlobalThroughputControlConfig
This configuration is used for throughput global control mode. It contains configuration about the extra container which will track all the clients throughput usage for a certain control group.
Method Summary
Modifier and Type | Method and Description |
---|---|
Duration |
getControlItemExpireInterval()
Get the control item expire interval. |
Duration |
getControlItemRenewInterval()
Get the control item renew interval. |
Methods inherited from java.lang.Object
Method Details
getControlItemExpireInterval
public Duration getControlItemExpireInterval()
Get the control item expire interval. A client may be offline due to various reasons (being shutdown, network issue... ). This controls how quickly we will detect the client has been offline and hence allow its throughput share to be taken by other clients. The allowed min value is 2 * controlItemRenewInterval + 1. By default, it is 11s.
Returns:
getControlItemRenewInterval
public Duration getControlItemRenewInterval()
Get the control item renew interval. This controls how often the client is going to update the throughput usage of itself and adjust its own throughput share based on the throughput usage of other clients. In short words, it controls how quickly the shared throughput will reload balanced across different clients. The allowed min value is 5s. By default, it is 5s.
Returns:
Applies to
Azure SDK for Java
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기