Click or drag to resize
SupervisorStrategyProcessFailure Method
This method is called to act on the failure of a child: restart if the flag is true, stop otherwise.

Namespace: Akka.Actor
Assembly: Akka (in Akka.dll) Version: 0.8.0.0 (0.8.0.0)
Syntax
protected abstract void ProcessFailure(
	IActorContext context,
	bool restart,
	Exception cause,
	ChildRestartStats failedChildStats,
	IReadOnlyCollection<ChildRestartStats> allChildren
)

Parameters

context
Type: Akka.ActorIActorContext
The actor context.
restart
Type: SystemBoolean
if set to true restart, stop otherwise.
cause
Type: SystemException
The exception that caused the child to fail.
failedChildStats
Type: Akka.Actor.InternalChildRestartStats
The stats for the child that failed. The ActorRef to the child can be obtained via the Child property
allChildren
Type: System.Collections.GenericIReadOnlyCollectionChildRestartStats
The stats for all children
See Also