IndexingContextQueue ClassAnkiro Enterprise Suite Reference Documentation
Inheritance Hierarchy

System Object
  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

public class IndexingContextQueue

The IndexingContextQueue type exposes the following members.

Constructors

  NameDescription
Public methodIndexingContextQueue
Initializes a new instance of the IndexingContextQueue class
Top
Methods

  NameDescription
Public methodEnqueue
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.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetCurrentCommands
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.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Public methodWaitOnCommands
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.
Top
Properties

  NameDescription
Public propertyQueueMaxSizeBytes
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.
Public propertySyncRoot
Top
See Also