-
方法概要
从接口继承的方法 com.google.protobuf.MessageLiteOrBuilder
isInitialized
从接口继承的方法 com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
方法详细资料
-
getDuration
int getDuration()
- 返回:
- The duration.
-
getCounterKey
int getCounterKey()
bucket的标识,上报时候带入:namespace+service+labelStr+duration
uint32 counterKey = 2;
- 返回:
- The counterKey.
-
getLeft
long getLeft()
剩余配额数,应答返回,允许为负数
int64 left = 3;
- 返回:
- The left.
-
getModeValue
int getModeValue()
实际限流模式
.polaris.metric.v2.Mode mode = 4;
- 返回:
- The enum numeric value on the wire for mode.
-
getMode
实际限流模式
.polaris.metric.v2.Mode mode = 4;
- 返回:
- The mode.
-
getClientCount
int getClientCount()
接入的客户端数量
uint32 clientCount = 5;
- 返回:
- The clientCount.