Package akka.dispatch.affinity
Interface QueueSelector
-
public interface QueueSelector
AQueueSelector
is responsible for, given aRunnable
and the number of available queues, return which of the queues thatRunnable
should be placed in.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getQueue(java.lang.Runnable command, int queues)
Must be deterministic—return the same value for the same input.
-