Adding support for ForkJoinPoolConfig so you can use ForkJoin
This commit is contained in:
parent
e3e694d1dc
commit
ef27f865d4
3 changed files with 88 additions and 6 deletions
|
|
@ -6,12 +6,9 @@ package akka.dispatch
|
|||
|
||||
import akka.event.Logging.Warning
|
||||
import java.util.concurrent.atomic.AtomicReference
|
||||
import java.util.concurrent.{ TimeUnit, ExecutorService, RejectedExecutionException, ConcurrentLinkedQueue }
|
||||
import akka.actor.{ ActorCell, ActorKilledException }
|
||||
import akka.actor.ActorSystem
|
||||
import akka.event.EventStream
|
||||
import akka.actor.Scheduler
|
||||
import akka.actor.ActorCell
|
||||
import akka.util.Duration
|
||||
import java.util.concurrent._
|
||||
|
||||
/**
|
||||
* Default settings are:
|
||||
|
|
@ -156,4 +153,4 @@ abstract class PriorityGenerator extends java.util.Comparator[Envelope] {
|
|||
|
||||
final def compare(thisMessage: Envelope, thatMessage: Envelope): Int =
|
||||
gen(thisMessage.message) - gen(thatMessage.message)
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue