#2721 - Adding implicit sender to Scheduler + tests
This commit is contained in:
parent
68f72459a3
commit
978c86339f
8 changed files with 42 additions and 51 deletions
|
|
@ -148,7 +148,7 @@ public class FaultHandlingDocSample {
|
|||
progressListener = getSender();
|
||||
getContext().system().scheduler().schedule(
|
||||
Duration.Zero(), Duration.create(1, "second"), getSelf(), Do,
|
||||
getContext().dispatcher()
|
||||
getContext().dispatcher(), null
|
||||
);
|
||||
} else if (msg.equals(Do)) {
|
||||
counterService.tell(new Increment(1), getSelf());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue