Refining Supervision API and remove AllForOne, OneForOne and replace with AllForOneStrategy, OneForOneStrategy etc

This commit is contained in:
Viktor Klang 2010-10-19 14:17:22 +02:00
parent 7b1d23428b
commit 32592b46a7
23 changed files with 123 additions and 129 deletions

View file

@ -110,8 +110,7 @@ class SchedulerSpec extends JUnitSuite {
Supervisor(
SupervisorConfig(
RestartStrategy(AllForOne, 3, 1000,
List(classOf[Exception])),
AllForOneStrategy(List(classOf[Exception]), 3, 1000),
Supervise(
actor,
Permanent)