Property | Type | Description | |
---|---|---|---|
CurrentDate | Func |
Method | Description | |
---|---|---|
AddOrIncrementWithExpiration ( IThrottleKey key, BrakePedal.Limiter limiter ) : void | ||
CreateLockKey ( IThrottleKey key, BrakePedal.Limiter limiter ) : string | ||
CreateThrottleKey ( IThrottleKey key, BrakePedal.Limiter limiter ) : string | ||
GetThrottleCount ( IThrottleKey key, BrakePedal.Limiter limiter ) : long? | ||
LockExists ( IThrottleKey key, BrakePedal.Limiter limiter ) : bool | ||
MemoryThrottleRepository ( ) : System | ||
MemoryThrottleRepository ( ObjectCache cache ) : System | ||
RemoveThrottle ( IThrottleKey key, BrakePedal.Limiter limiter ) : void | ||
SetLock ( IThrottleKey key, BrakePedal.Limiter limiter ) : void |
Method | Description | |
---|---|---|
CreateBaseKeyValues ( IThrottleKey key, BrakePedal.Limiter limiter ) : List | ||
GetUnixTimestamp ( ) : long | ||
TimeSpanToFriendlyString ( System.TimeSpan span ) : string |
public AddOrIncrementWithExpiration ( IThrottleKey key, BrakePedal.Limiter limiter ) : void | ||
key | IThrottleKey | |
limiter | BrakePedal.Limiter | |
return | void |
public CreateLockKey ( IThrottleKey key, BrakePedal.Limiter limiter ) : string | ||
key | IThrottleKey | |
limiter | BrakePedal.Limiter | |
return | string |
public CreateThrottleKey ( IThrottleKey key, BrakePedal.Limiter limiter ) : string | ||
key | IThrottleKey | |
limiter | BrakePedal.Limiter | |
return | string |
public GetThrottleCount ( IThrottleKey key, BrakePedal.Limiter limiter ) : long? | ||
key | IThrottleKey | |
limiter | BrakePedal.Limiter | |
return | long? |
public LockExists ( IThrottleKey key, BrakePedal.Limiter limiter ) : bool | ||
key | IThrottleKey | |
limiter | BrakePedal.Limiter | |
return | bool |
public MemoryThrottleRepository ( ObjectCache cache ) : System | ||
cache | ObjectCache | |
return | System |
public RemoveThrottle ( IThrottleKey key, BrakePedal.Limiter limiter ) : void | ||
key | IThrottleKey | |
limiter | BrakePedal.Limiter | |
return | void |
public SetLock ( IThrottleKey key, BrakePedal.Limiter limiter ) : void | ||
key | IThrottleKey | |
limiter | BrakePedal.Limiter | |
return | void |