Interface IUpdateValue<TKey, TValue>
An interface to provide conditional or custom update logic to a concurrent dictionary.
Assembly: DistributedLucene.Net.dll
Syntax
public interface IUpdateValue<TKey, TValue>
Type Parameters
Name | Description |
---|---|
TKey | |
TValue |
Methods
Name | Description |
---|---|
UpdateValue(TKey, ref TValue) | Called when the key was found within the dictionary to produce a modified value to update the item to. Return true to continue with the update, or false to prevent the key/value from being updated. |