Tutorial by Examples

Describes a dependency relationship between actors, the parent and child releationship. Parent is unique because it has created the child actor, so the parent is responsible for reacting when failures happens in his child. And parent decides which choice needs to be selected. When a parent receives...
There are two type of supervision strategies that we follow to supervise any actor: One-For-One Strategy One-For-All Strategy case object ResumeException extends Exception case object StopException extends Exception case object RestartException extends Exception override v...
Lifecycle Monitoring in Akka is usually referred to as DeathWatch. Monitoring is thus used to tie one actor to another so that it may react to the other actor’s termination, in contrast to supervision which reacts to failure. Monitoring Monitoring is particularly useful if a supervisor ...

Page 1 of 1