Package akka.dispatch
Class PriorityGenerator
- java.lang.Object
-
- akka.dispatch.PriorityGenerator
-
-
Constructor Summary
Constructors Constructor Description PriorityGenerator()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static PriorityGenerator
apply(scala.Function1<java.lang.Object,java.lang.Object> priorityFunction)
Creates a PriorityGenerator that uses the supplied function as priority generatorint
compare(Envelope thisMessage, Envelope thatMessage)
abstract int
gen(java.lang.Object message)
-
-
-
Method Detail
-
apply
public static PriorityGenerator apply(scala.Function1<java.lang.Object,java.lang.Object> priorityFunction)
Creates a PriorityGenerator that uses the supplied function as priority generator
-
gen
public abstract int gen(java.lang.Object message)
-
-