Пример #1
0
 public void AsyncAddToIndex(object key, CacheEntry value, OperationContext operationContext)
 {
     lock (_asyncProcessor)
     {
         _asyncProcessor.Enqueue(new IndexAddTask(this, key, value, operationContext));
     }
 }
Пример #2
0
 public void AsyncAddToIndex(object key, CacheEntry value)
 {
     lock (_asyncProcessor)
     {
         _asyncProcessor.Enqueue(new IndexAddTask(this, key, value));
     }
 }