IndexingContextQueue Enqueue Method Ankiro Enterprise Suite Reference Documentation
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.

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 int Enqueue(
	IndexingContextCommand command,
	Nullable<TimeSpan> maxWait = null
)

Parameters

command
Type: Ankiro.SearchServer.Data.IndexingContext IndexingContextCommand
maxWait (Optional)
Type: System Nullable TimeSpan 

Return Value

Type: Int32
See Also