Click or drag to resize
Akka.NETListPriorityQueue Class
Priority queue implemented using a simple list with binary search for inserts. This specific implementation is cheap in terms of memory but weak in terms of performance. See http://visualstudiomagazine.com/articles/2012/11/01/priority-queues-with-c.aspx for original implementation This specific version is adapted for Envelopes only and calculates a priority of envelope.Message
Inheritance Hierarchy
SystemObject
  Akka.UtilListPriorityQueue

Namespace:  Akka.Util
Assembly:  Akka (in Akka.dll) Version: 1.2.3.42 (1.2.3.42)
Syntax
public sealed class ListPriorityQueue

The ListPriorityQueue type exposes the following members.

Constructors
Methods
  NameDescription
Public methodCount
Counts the number of items in the priority queue.
Public methodDequeue
Dequeues the highest priority message at the front of the priority queue.
Public methodEnqueue
Enqueues a message into the priority queue.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsConsistent
TBD
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodPeek
Peek at the message at the front of the priority queue.
Public methodSetPriorityCalculator Obsolete.
DEPRECATED. Sets a new priority calculator.
Public methodToString
Converts the queue to a string representation.
(Overrides ObjectToString.)
Top
Extension Methods
See Also