C# Class Jayway.Throttling.AzureCacheThrottlingService

Inheritance: IThrottlingService
Show file Open project: jayway/Throttling.Lab

Public Methods

Method Description
Allow ( string account, long cost, Func intervalFactory ) : bool
AzureCacheThrottlingService ( DataCache dataCache ) : System

Method Details

Allow() public method

public Allow ( string account, long cost, Func intervalFactory ) : bool
account string
cost long
intervalFactory Func
return bool

AzureCacheThrottlingService() public method

public AzureCacheThrottlingService ( DataCache dataCache ) : System
dataCache DataCache
return System