Enum MemoryType
It specifies the memory type strategy of the internal enumerator implemented to iterate over the collection.
Assembly: DistributedLucene.Net.dll
Syntax
public enum MemoryType : int
Fields
Name | Description |
---|---|
Normal | Normal is the usual operator type. A new instance of an enumerator is always returned for multithread safety purposes. |
Safe | Safe returns the same enumerator instance and updates references or a new instance in case of multiple enumeration and multithread access |
Strict | Strict always returns the same enumerator instance. An exception is raised if the collection is enumerated more than once or if the collection is accessed by multiple threads concurrently. |