abstract class PriorityGenerator extends Comparator[Envelope]
A PriorityGenerator is a convenience API to create a Comparator that orders the messages of a PriorityDispatcher
- Source
- Dispatcher.scala
Linear Supertypes
Type Hierarchy
Ordering
- Alphabetic
- By Inheritance
Inherited
- PriorityGenerator
- Comparator
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new PriorityGenerator()
Concrete Value Members
-
final
def
compare(thisMessage: Envelope, thatMessage: Envelope): Int
- Definition Classes
- PriorityGenerator → Comparator
-
def
reversed(): Comparator[Envelope]
- Definition Classes
- Comparator
-
def
thenComparing[U <: Comparable[_ >: U]](arg0: Function[_ >: Envelope, _ <: U]): Comparator[Envelope]
- Definition Classes
- Comparator
-
def
thenComparing[U](arg0: Function[_ >: Envelope, _ <: U], arg1: Comparator[_ >: U]): Comparator[Envelope]
- Definition Classes
- Comparator
-
def
thenComparing(arg0: Comparator[_ >: Envelope]): Comparator[Envelope]
- Definition Classes
- Comparator
-
def
thenComparingDouble(arg0: ToDoubleFunction[_ >: Envelope]): Comparator[Envelope]
- Definition Classes
- Comparator
-
def
thenComparingInt(arg0: ToIntFunction[_ >: Envelope]): Comparator[Envelope]
- Definition Classes
- Comparator
-
def
thenComparingLong(arg0: ToLongFunction[_ >: Envelope]): Comparator[Envelope]
- Definition Classes
- Comparator