Table of Contents

Class ConcurrencyRateLimitPolicyAttribute

Namespace
Phoesion.Glow.SDK.Firefly
Assembly
Phoesion.Glow.SDK.Firefly.Annotations.dll

Declare a Concurrency Rate-Limit policy.

[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true, Inherited = true)]
public class ConcurrencyRateLimitPolicyAttribute : RateLimitPolicyAttribute
Inheritance
object
Attribute
ConcurrencyRateLimitPolicyAttribute
Inherited Members

Remarks

You must use with [EnableRateLimit(..)] to enable the policy

Constructors

ConcurrencyRateLimitPolicyAttribute(string, int, int)

public ConcurrencyRateLimitPolicyAttribute(string PolicyName, int PermitLimit, int QueueLimit)

Parameters

PolicyName string
PermitLimit int
QueueLimit int

Properties

PermitLimit

Maximum number of permit counters that can be allowed in a window. Must be set to a value greater than 0

public int PermitLimit { get; set; }

Property Value

int

QueueLimit

Maximum cumulative permit count of queued acquisition requests. Must be set to a value greater than 0

public int QueueLimit { get; set; }

Property Value

int