+ serialization-dispatcher {
+ type = Dispatcher
+ executor = "fork-join-executor"
+ fork-join-executor {
+ # Min number of threads to cap factor-based parallelism number to
+ parallelism-min = 2
+ # Parallelism (threads) ... ceil(available processors * factor)
+ parallelism-factor = 2.0
+ # Max number of threads to cap factor-based parallelism number to
+ parallelism-max = 15
+ }
+ throughput = 1
+ }
+
+ shard-dispatcher {
+ type = Dispatcher
+ executor = "default-executor"
+
+ # We use a ControlAwareMailbox so that raft messages that implement ControlMessage
+ # are given higher priority.
+ mailbox-type = "org.opendaylight.controller.cluster.common.actor.UnboundedDequeBasedControlAwareMailbox"
+ }
+