C# Class Sappworks.Stocks.ETrade.TokenBucket

Show file Open project: bmsapp/sappworks.stocks.public

Public Methods

Method Description
Consume ( ) : void
TokenBucket ( int capacity, System.TimeSpan refillInterval ) : System

Method Details

Consume() public method

public Consume ( ) : void
return void

TokenBucket() public method

public TokenBucket ( int capacity, System.TimeSpan refillInterval ) : System
capacity int
refillInterval System.TimeSpan
return System