Enum Directive for supervisor actions
Namespace: Akka.ActorAssembly: Akka (in Akka.dll) Version: 0.8.0.0 (0.8.0.0)
SyntaxPublic Enumeration Directive
public enum class Directive
Members
| Member name | Value | Description |
---|
| Resume | 0 |
Resumes message processing for the failed Actor
|
| Restart | 1 |
Discards the old Actor instance and replaces it with a new,
then resumes message processing.
|
| Escalate | 2 |
Escalates the failure to the supervisor of the supervisor,
by rethrowing the cause of the failure, i.e. the supervisor fails with
the same exception as the child.
|
| Stop | 3 |
Stops the Actor
|
See Also