예제 #1
0
 /// <summary>Initializes a new instance of the ResponseLimitedConcurrencyActionLoader class.</summary>
 /// <param name="scheduler">The scheduler to load.</param>
 /// <param name="interval">The interval (in milliseconds) for which to perform a load check.</param>
 public ResponseLimitedConcurrencyActionLoader(ResponseLimitedConcurrencyTaskScheduler scheduler)
     : this(scheduler, 1000)
 {
 }
예제 #2
0
 /// <summary>Initializes a new instance of the ResponseLimitedConcurrencyActionLoader class.</summary>
 /// <param name="scheduler">The scheduler to load.</param>
 /// <param name="interval">The interval (in milliseconds) for which to perform a load check.</param>
 public ResponseLimitedConcurrencyActionLoader(ResponseLimitedConcurrencyTaskScheduler scheduler, int interval)
 {
     this.scheduler    = scheduler;
     this.factory      = new TaskFactory(scheduler);
     this.baseInterval = interval;
 }