Пример #1
0
 public void Process(PoolEntry <T, C> entry)
 {
     if (entry.IsExpired(now))
     {
         entry.Close();
     }
 }
Пример #2
0
 public void Process(PoolEntry <T, C> entry)
 {
     if (entry.GetUpdated() <= deadline)
     {
         entry.Close();
     }
 }