| OneForOneStrategy Constructor (FuncException, Directive, Boolean) |
Constructor that accepts only a decider and uses reasonable defaults for the other settings
Namespace:
Akka.Actor
Assembly:
Akka (in Akka.dll) Version: 1.2.3.129 (1.2.3.129)
Syntax public OneForOneStrategy(
Func<Exception, Directive> localOnlyDecider,
bool loggingEnabled = true
)
new :
localOnlyDecider : Func<Exception, Directive> *
?loggingEnabled : bool
(* Defaults:
let _loggingEnabled = defaultArg loggingEnabled true
*)
-> OneForOneStrategy
Parameters
- localOnlyDecider
- Type: SystemFuncException, Directive
mapping from Exception to Directive - loggingEnabled (Optional)
- Type: SystemBoolean
If true failures will be logged
See Also