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.9.79 (1.0.9.79)
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 propertyEventStream
The EventStream for this dispatcher's actor system
(Inherited from MessageDispatcher.)
Public propertyId
The ID for this dispatcher.
(Inherited from MessageDispatcher.)
Protected propertyInhabitants
The number of actors attached to this MessageDispatcher
(Inherited from MessageDispatcher.)
Public propertyMailboxes
The list of available Mailboxes for this dispatcher's actor system
(Inherited from MessageDispatcher.)
Public propertyShutdownTimeout
INTERNAL API When the dispatcher no longer has any actors registered, the ShutdownTimeout determines how long it will wait until it shuts itself down, defaulting to your Akka.NET config's 'akka.actor.default-dispatcher.shutdown-timeout' or the system default specified.
(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.)
Protected methodReportFailure (Inherited from MessageDispatcher.)
Public methodSchedule(Action)
Schedules the specified run.
(Inherited from MessageDispatcher.)
Public methodSchedule(IRunnable) (Overrides MessageDispatcherSchedule(IRunnable).)
Protected methodShutdown (Overrides MessageDispatcherShutdown.)
Public methodSystemDispatch
Dispatches a SystemMessage 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