Improved API of OneForOneStrategy and AllForOneStrategy. See #1714

* withinTimeRange: Duration
* Removed need for Options in API
This commit is contained in:
Patrik Nordwall 2012-01-24 08:37:01 +01:00
parent 4c6f9b86d1
commit abc072ef0a
20 changed files with 122 additions and 98 deletions

View file

@ -52,7 +52,7 @@ public class FaultHandlingTestBase {
return escalate();
}
}
}, 10, 60000);
}, 10, Duration.parse("1 minute"));
@Override
public SupervisorStrategy supervisorStrategy() {
@ -89,7 +89,7 @@ public class FaultHandlingTestBase {
return escalate();
}
}
}, 10, 60000);
}, 10, Duration.parse("1 minute"));
@Override
public SupervisorStrategy supervisorStrategy() {