Class DelegatingSupervisorStrategy
- Namespace
- Akka.TestKit
- Assembly
- Akka.TestKit.dll
public class DelegatingSupervisorStrategy : SupervisorStrategy
- Inheritance
-
DelegatingSupervisorStrategy
Constructors
DelegatingSupervisorStrategy()
public DelegatingSupervisorStrategy()
Properties
Decider
public override IDecider Decider { get; }
Property Value
- IDecider
Methods
Handle(IActorRef, Exception)
protected override Directive Handle(IActorRef child, Exception exception)
Parameters
child
IActorRef
exception
Exception
Returns
- Directive
HandleChildTerminated(IActorContext, IActorRef, IEnumerable<IInternalActorRef>)
public override void HandleChildTerminated(IActorContext actorContext, IActorRef child, IEnumerable<IInternalActorRef> children)
Parameters
actorContext
IActorContext
child
IActorRef
children
IEnumerable<IInternalActorRef>
ProcessFailure(IActorContext, bool, IActorRef, Exception, ChildRestartStats, IReadOnlyCollection<ChildRestartStats>)
public override void ProcessFailure(IActorContext context, bool restart, IActorRef child, Exception cause, ChildRestartStats stats, IReadOnlyCollection<ChildRestartStats> children)
Parameters
context
IActorContext
restart
bool
child
IActorRef
cause
Exception
stats
ChildRestartStats
children
IReadOnlyCollection<ChildRestartStats>
ToSurrogate(ActorSystem)
public override ISurrogate ToSurrogate(ActorSystem system)
Parameters
system
ActorSystem
Returns
- ISurrogate
Update(IActorRef, SupervisorStrategy)
public void Update(IActorRef child, SupervisorStrategy supervisorStrategy)
Parameters
child
IActorRef
supervisorStrategy
SupervisorStrategy