public static interface RatelimitV2.QuotaLeftOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
int |
getClientCount()
接入的客户端数量
|
int |
getCounterKey()
计数器的标识,一个server全局唯一,上报时候带入
|
long |
getLeft()
剩余配额数,应答返回,允许为负数
|
RatelimitV2.Mode |
getMode()
当前限流模式
|
int |
getModeValue()
当前限流模式
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofint getCounterKey()
计数器的标识,一个server全局唯一,上报时候带入
uint32 counterKey = 1;long getLeft()
剩余配额数,应答返回,允许为负数
int64 left = 2;int getModeValue()
当前限流模式
.polaris.metric.v2.Mode mode = 3;RatelimitV2.Mode getMode()
当前限流模式
.polaris.metric.v2.Mode mode = 3;int getClientCount()
接入的客户端数量
uint32 clientCount = 4;Copyright © 2024. All rights reserved.