/// <summary>
 /// <see cref="PooledExecutor"/> helper class
 /// </summary>
 /// <param name="executor">pooled executor</param>
 /// <param name="firstTask">the first task to execute</param>
 protected internal Worker(PooledExecutor executor, IRunnable firstTask)
 {
     this.pooledExecutor = executor;
     firstTask_ = firstTask;
 }
 /// <summary>
 /// Creates new instance tied to the given <see cref="PooledExecutor"/>
 /// </summary>
 protected internal WaitWhenBlocked_(PooledExecutor executor)
 {
     this.pooledExecutor = executor;
 }
 /// <summary>
 /// Creates a new instance
 /// </summary>
 protected internal DiscardOldestWhenBlocked_(PooledExecutor executor)
 {
     this.pooledExecutor = executor;
 }
예제 #4
0
 /// <summary>
 /// <see cref="PooledExecutor"/> helper class
 /// </summary>
 /// <param name="executor">pooled executor</param>
 /// <param name="firstTask">the first task to execute</param>
 protected internal Worker(PooledExecutor executor, IRunnable firstTask)
 {
     this.pooledExecutor = executor;
     firstTask_          = firstTask;
 }
예제 #5
0
 /// <summary>
 /// Creates a new instance
 /// </summary>
 protected internal DiscardOldestWhenBlocked_(PooledExecutor executor)
 {
     this.pooledExecutor = executor;
 }
예제 #6
0
 /// <summary>
 /// Creates new instance tied to the given <see cref="PooledExecutor"/>
 /// </summary>
 protected internal WaitWhenBlocked_(PooledExecutor executor)
 {
     this.pooledExecutor = executor;
 }