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