Click or drag to resize
Akka.NETForkJoinDispatcher Class
ForkJoinDispatcher - custom multi-threaded dispatcher that runs on top of a DedicatedThreadPool, designed to be used for mission-critical actors that can't afford ThreadPool starvation. Relevant configuration options:
my-forkjoin-dispatcher{
        type = ForkJoinDispatcher
        throughput = 100
        dedicated-thread-pool{ #settings for Helios.DedicatedThreadPool
            thread-count = 3 #number of threads
            #deadlock-timeout = 3s #optional timeout for deadlock detection
            threadtype = background #values can be "background" or "foreground"
        }
}
Inheritance Hierarchy

Namespace: Akka.Dispatch
Assembly: Akka (in Akka.dll) Version: 1.0.8.21 (1.0.8.21)
Syntax
public class ForkJoinDispatcher : MessageDispatcher

The ForkJoinDispatcher type exposes the following members.

Properties
  NameDescription
Public propertyConfigurator
The configurator used to configure this message dispatcher.
(Inherited from MessageDispatcher.)
Public propertyId
The ID for this dispatcher.
(Inherited from MessageDispatcher.)
Public propertyThroughput
Gets or sets the throughput.
(Inherited from MessageDispatcher.)
Public propertyThroughputDeadlineTime
Gets or sets the throughput deadline time.
(Inherited from MessageDispatcher.)
Top
Methods
  NameDescription
Public methodAttach
Attaches the dispatcher to the ActorCell
Remarks
Practically, doesn't do very much right now - dispatchers aren't responsible for creating mailboxes in Akka.NET
(Inherited from MessageDispatcher.)
Public methodDetach
Detaches the dispatcher to the ActorCell
Remarks
Only really used in dispatchers with 1:1 relationship with dispatcher.
(Inherited from MessageDispatcher.)
Public methodDispatch
Dispatches a user-defined message from a mailbox to an ActorCell
(Inherited from MessageDispatcher.)
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.)
Public methodSchedule (Overrides MessageDispatcherSchedule(Action).)
Public methodSystemDispatch
Dispatches a ISystemMessage from a mailbox to an ActorCell
(Inherited from MessageDispatcher.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
See Also