Refining Supervision API and remove AllForOne, OneForOne and replace with AllForOneStrategy, OneForOneStrategy etc
This commit is contained in:
parent
7b1d23428b
commit
32592b46a7
23 changed files with 123 additions and 129 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue