Click or drag to resize

ConcurrentTokenizedPriorityQueueTKey, TValue, TToken Constructor

Overload List
 NameDescription
Public methodConcurrentTokenizedPriorityQueueTKey, TValue, TToken Initializes a new instance of the ConcurrentTokenizedPriorityQueueTKey, TValue, TToken class. This instance is not configured to generate tokens by itself, thus you must use the TryAdd(..) functions to enqueue items.
Public methodConcurrentTokenizedPriorityQueueTKey, TValue, TToken(Int32) Initializes a new instance of the ConcurrentTokenizedPriorityQueueTKey, TValue, TToken class. This instance is not configured to generate tokens by itself, thus you must use the TryAdd(..) functions to enqueue items.
Public methodConcurrentTokenizedPriorityQueueTKey, TValue, TToken(TToken, FuncTToken, TToken) Initializes a new instance of the ConcurrentTokenizedPriorityQueueTKey, TValue, TToken class. When argument GetNextToken is not null, the priority queue is generating new tokens by itself. In this case you should only use the Enqueue functions to enqueue items. In contrast, when GetNextToken is null, the priority queue is not generating tokens by itself, and you have to use the TryAdd(..) functions to enqueue items.
Public methodConcurrentTokenizedPriorityQueueTKey, TValue, TToken(Int32, TToken, FuncTToken, TToken) Initializes a new instance of the ConcurrentTokenizedPriorityQueueTKey, TValue, TToken class. When argument GetNextToken is not null, the priority queue is generating new tokens by itself. In this case you should only use the Enqueue functions to enqueue items. In contrast, when GetNextToken is null, the priority queue is not generating tokens by itself, and you have to use the Add functions to enqueue items.
Top
See Also