public void AsyncAddToIndex(object key, CacheEntry value, OperationContext operationContext) { lock (_asyncProcessor) { _asyncProcessor.Enqueue(new IndexAddTask(this, key, value, operationContext)); } }
public void AsyncAddToIndex(object key, CacheEntry value) { lock (_asyncProcessor) { _asyncProcessor.Enqueue(new IndexAddTask(this, key, value)); } }