Class TerminatingChildrenContainer
Waiting state: there are outstanding termination requests (i.e. context.stop(child)
was called but the corresponding ChildTerminated() system message has not yet been
processed). There could be no specific reason (UserRequested), we could be Restarting
or Terminating.
Removing the last child which was supposed to be terminating will return a different
type of container, depending on whether or not children are left and whether or not
the reason was "Terminating".
Inheritance
TerminatingChildrenContainer
Assembly: Akka.dll
Syntax
public class TerminatingChildrenContainer : ChildrenContainerBase, IChildrenContainer
Constructors
|
Improve this Doc
View Source
TerminatingChildrenContainer(IImmutableDictionary<String, IChildStats>, IActorRef, SuspendReason)
Declaration
public TerminatingChildrenContainer(IImmutableDictionary<string, IChildStats> children, IActorRef toDie, SuspendReason reason)
Parameters
|
Improve this Doc
View Source
TerminatingChildrenContainer(IImmutableDictionary<String, IChildStats>, ImmutableHashSet<IActorRef>, SuspendReason)
Declaration
public TerminatingChildrenContainer(IImmutableDictionary<string, IChildStats> children, ImmutableHashSet<IActorRef> toDie, SuspendReason reason)
Parameters
Properties
|
Improve this Doc
View Source
IsNormal
Declaration
public override bool IsNormal { get; }
Property Value
Overrides
|
Improve this Doc
View Source
IsTerminating
Declaration
public override bool IsTerminating { get; }
Property Value
Overrides
|
Improve this Doc
View Source
Reason
Declaration
public SuspendReason Reason { get; }
Property Value
|
Improve this Doc
View Source
ToDie
Declaration
public ImmutableHashSet<IActorRef> ToDie { get; }
Property Value
Type |
Description |
System.Collections.Immutable.ImmutableHashSet<IActorRef> |
|
Methods
|
Improve this Doc
View Source
Add(String, ChildRestartStats)
Declaration
public override IChildrenContainer Add(string name, ChildRestartStats stats)
Parameters
Returns
Overrides
|
Improve this Doc
View Source
CreateCopyWithReason(SuspendReason)
Declaration
public IChildrenContainer CreateCopyWithReason(SuspendReason reason)
Parameters
Returns
|
Improve this Doc
View Source
Remove(IActorRef)
Declaration
public override IChildrenContainer Remove(IActorRef child)
Parameters
Returns
Overrides
|
Improve this Doc
View Source
Reserve(String)
Declaration
public override IChildrenContainer Reserve(string name)
Parameters
Type |
Name |
Description |
String |
name |
|
Returns
Overrides
|
Improve this Doc
View Source
ShallDie(IActorRef)
Declaration
public override IChildrenContainer ShallDie(IActorRef actor)
Parameters
Returns
Overrides
|
Improve this Doc
View Source
ToString()
Declaration
public override string ToString()
Returns
Overrides
|
Improve this Doc
View Source
Unreserve(String)
Declaration
public override IChildrenContainer Unreserve(string name)
Parameters
Type |
Name |
Description |
String |
name |
|
Returns
Overrides
Implements
Extension Methods