Click or drag to resize
Akka.NETUnboundedPriorityMailbox Class
Priority mailbox base class; unbounded mailbox that allows for prioritization of its contents. Extend this class and implement the PriorityGenerator(Object) method with your own prioritization. The value returned by the PriorityGenerator(Object) method will be used to order the message in the mailbox. Lower values will be delivered first. Messages ordered by the same number will remain in delivery order.
Inheritance Hierarchy
SystemObject
  Akka.DispatchMailboxType
    Akka.DispatchUnboundedPriorityMailbox

Namespace:  Akka.Dispatch
Assembly:  Akka (in Akka.dll) Version: 1.2.3.42 (1.2.3.42)
Syntax
public abstract class UnboundedPriorityMailbox : MailboxType, 
	IProducesMessageQueue<UnboundedPriorityMessageQueue>

The UnboundedPriorityMailbox type exposes the following members.

Constructors
  NameDescription
Protected methodUnboundedPriorityMailbox
A factory to create IMessageQueues for an optionally provided IActorContext.
Top
Properties
  NameDescription
Public propertyInitialCapacity
The initial capacity of the unbounded mailbox.
Top
Methods
  NameDescription
Public methodCreate
A factory to create IMessageQueues for an optionally provided IActorContext.
(Overrides MailboxTypeCreate(IActorRef, ActorSystem).)
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.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodPriorityGenerator
Function responsible for generating the priority value of a message based on its type and content.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Protected fieldConfig
The configuration for this mailbox.
(Inherited from MailboxType.)
Public fieldStatic memberDefaultCapacity
The default capacity of an unbounded priority mailbox.
Protected fieldSettings
The settings for the given ActorSystem.
(Inherited from MailboxType.)
Top
Extension Methods
See Also