public static interface RatelimitV2.QuotaCounterOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
int |
getClientCount()
接入的客户端数量
|
int |
getCounterKey()
bucket的标识,上报时候带入:namespace+service+labelStr+duration
|
int |
getDuration()
单位秒
|
long |
getLeft()
剩余配额数,应答返回,允许为负数
|
RatelimitV2.Mode |
getMode()
实际限流模式
|
int |
getModeValue()
实际限流模式
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofint getDuration()
单位秒
uint32 duration = 1;int getCounterKey()
bucket的标识,上报时候带入:namespace+service+labelStr+duration
uint32 counterKey = 2;long getLeft()
剩余配额数,应答返回,允许为负数
int64 left = 3;int getModeValue()
实际限流模式
.polaris.metric.v2.Mode mode = 4;RatelimitV2.Mode getMode()
实际限流模式
.polaris.metric.v2.Mode mode = 4;int getClientCount()
接入的客户端数量
uint32 clientCount = 5;Copyright © 2024. All rights reserved.