public abstract class RateLimiterPolicy<TPartitionKey> : IRateLimiterPolicy
Public MustInherit Class RateLimiterPolicy(Of TPartitionKey)
Implements IRateLimiterPolicy[<AbstractClassAttribute>]
type RateLimiterPolicy<'TPartitionKey> =
class
interface IRateLimiterPolicy
end| RateLimiterPolicyTPartitionKey | 初始化RateLimiterPolicy类的实例。 |
| MaxLifetime |
最大生命周期限制。默认:60分钟。
当一个限流器在设定时间内没被使用时,会被移除销毁。 |
| Equals | Determines whether the specified object is equal to the current object. (继承自 Object。) |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (继承自 Object。) |
| GetHashCode | Serves as the default hash function. (继承自 Object。) |
| GetPartitionKey | 获取分区键 |
| GetRateLimiter | 获取限流器 |
| GetType | Gets the Type of the current instance. (继承自 Object。) |
| MemberwiseClone | Creates a shallow copy of the current Object. (继承自 Object。) |
| NewRateLimiter | 创建一个新的限流器 |
| ToString | Returns a string that represents the current object. (继承自 Object。) |
| Map |
将源对象的属性映射到目标对象的属性中。
(由 Mapper 定义。) |
| Map |
将源对象映射到目标类型的实例。
(由 Mapper 定义。) |
| MapTTarget |
将源对象映射到指定目标类型的新实例。
(由 Mapper 定义。) |
| ToJsonString |
转换为Json
(由 SerializeConvert 定义。) |