Exemple #1
0
 private void AutoClean()
 {
     if (!AutoClear)
     {
         return;
     }
     SleepPool.Clear(SleepPool.count - SleepCapcity);
 }
Exemple #2
0
 public void Clear(T t, IEventArgs arg, bool ignoreRun = true)
 {
     if (IsRunning(t))
     {
         if (ignoreRun)
         {
             return;
         }
         Set(t, arg);
     }
     SleepPool.Clear(t, arg);
 }
Exemple #3
0
 public void Clear(T t, bool ignoreRun = true)
 {
     if (IsRunning(t))
     {
         if (ignoreRun)
         {
             return;
         }
         Set(t);
     }
     SleepPool.Clear(t);
 }
Exemple #4
0
 public void ClearSleepPool(IEventArgs arg)
 {
     SleepPool.Clear(arg);
 }
Exemple #5
0
 public void ClearSleepPool()
 {
     SleepPool.Clear();
 }