akka.dispatch.affinity
A QueueSelector is responsible for, given a Runnable and the number of available queues, return which of the queues that Runnable should be placed in.
QueueSelector
Runnable
Must be deterministic—return the same value for the same input.
NullPointerException when command is null
NullPointerException
command
null
A
QueueSelector
is responsible for, given aRunnable
and the number of available queues, return which of the queues thatRunnable
should be placed in.