Queues and runs operations such as AddDocument asynchronously, use the static methods, not a constructor.

C# | Visual Basic |
public class AsynchronousQueue
Public Class AsynchronousQueue

All Members | Methods | Properties | |||
Icon | Member | Description |
---|---|---|
![]() | Equals(Object) | (Inherited from Object.) |
![]() | Finalize()()()() | (Inherited from Object.) |
![]() | GetHashCode()()()() | (Inherited from Object.) |
![]() | GetType()()()() | (Inherited from Object.) |
![]() ![]() | Interrupt(Configuration) |
Writes a file named "interrupt" to the index directory to stop the asychronous indexing.
The queue is reloaded from the disk when the next queued item is added.
|
![]() ![]() | IsQueueInterruptFlagged(Configuration) | |
![]() | MemberwiseClone()()()() | (Inherited from Object.) |
![]() ![]() | QueueForIndexing(Document, EventHandler) |
Adds the document to the queue for adding to the index - the document will be indexed asynchronously as soon as possible.
|
![]() ![]() | QueueForRemoval(Document, EventHandler) |
Adds the document to the queue for removing from the index - the document will be removed asynchronously as soon as possible.
|
![]() | QueueSize |
Current queue size (remaining items).
|
![]() ![]() | Resume(Configuration, EventHandler) | |
![]() | ToString()()()() | (Inherited from Object.) |

This class will create and close a DocumentIndex instance as required, it is important therefore that no other DocumentIndex instance is open on the same index directory while the queue has items.
Typical usage is to call AsynchronousQueue.QueueForIndexing with the document and an EventHandler delegate, please see the Help example on programmatic importing.

Object | |
![]() | AsynchronousQueue |
Assembly: Keyoti4.SearchEngine.Core (Module: Keyoti4.SearchEngine.Core.dll) Version: 2022.8.22.610