Inheritance Hierarchy
Ankiro.SearchServer.Data.IndexingContext IndexingContextQueue
Namespace: Ankiro.SearchServer.Data.IndexingContext
Assembly: Ankiro.SearchServer.Data (in Ankiro.SearchServer.Data.dll) Version: 1.13.770.19207 (1.13.770.19207)
Syntax
The IndexingContextQueue type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | IndexingContextQueue | Initializes a new instance of the IndexingContextQueue class |
Methods
Name | Description | |
---|---|---|
![]() | Enqueue |
Adds a new indexing command to the command queue.
If QueueMaxSizeBytes is defined, the Enqueue method may block until either WaitUntilEmpty or GetCurrentCommands is invoked,
if the current size of the queued commands exceeds the specified threshold.
In that case, maxWait may be used to control the maximum period of time to wait.
|
![]() | Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() | GetCurrentCommands |
Peeks the command queue by returning any queued index command, or returning an empty collection if no commands are queued.
This method does not block.
|
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | ToString | Returns a String that represents the current Object. (Inherited from Object.) |
![]() | WaitOnCommands |
Waits until at least one index command is queued, resets the internal command queue and returns the queued event(s).
maxWait may be used to control the maximum timespan to wait for an indexing command to be queued. Alternatively the
method blocks indefinitely, until Enqueue is invoked.
|
Properties
Name | Description | |
---|---|---|
![]() | QueueMaxSizeBytes |
Optionally controls the maximum number of indexing commands to accept in the queue before beginning
a synchronization block. If QueueMaxSizeBytes is defined, calls to Enqueue will block, if the combined
size of queued indexing commands exceeds QueueMaxSizeBytes.
|
![]() | SyncRoot |
See Also