removed transient life-cycle and restart-within-time attribute
This commit is contained in:
parent
765a11fb67
commit
7dee21a937
25 changed files with 528 additions and 310 deletions
|
|
@ -19,9 +19,9 @@ public class PersistentStateTest extends TestCase {
|
|||
conf.configure(
|
||||
new RestartStrategy(new AllForOne(), 3, 5000),
|
||||
new Component[] {
|
||||
new Component(PersistentStateful.class, new LifeCycle(new Permanent(), 1000), 10000000),
|
||||
new Component(PersistentFailer.class, new LifeCycle(new Permanent(), 1000), 1000)
|
||||
//new Component(PersistentClasher.class, new LifeCycle(new Permanent(), 1000), 100000)
|
||||
new Component(PersistentStateful.class, new LifeCycle(new Permanent()), 10000000),
|
||||
new Component(PersistentFailer.class, new LifeCycle(new Permanent()), 1000)
|
||||
//new Component(PersistentClasher.class, new LifeCycle(new Permanent()), 100000)
|
||||
}).supervise();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue