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".
Implements
Inherited Members
Namespace: Akka.Actor.Internal
Assembly: Akka.dll
Syntax
public class TerminatingChildrenContainer : ChildrenContainerBase, IChildrenContainer
Constructors
| Improve this Doc View SourceTerminatingChildrenContainer(IImmutableDictionary<String, IChildStats>, IActorRef, SuspendReason)
TBD
Declaration
public TerminatingChildrenContainer(IImmutableDictionary<string, IChildStats> children, IActorRef toDie, SuspendReason reason)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Immutable.IImmutableDictionary<String, IChildStats> | children | TBD |
IActorRef | toDie | TBD |
SuspendReason | reason | TBD |
TerminatingChildrenContainer(IImmutableDictionary<String, IChildStats>, ImmutableHashSet<IActorRef>, SuspendReason)
TBD
Declaration
public TerminatingChildrenContainer(IImmutableDictionary<string, IChildStats> children, ImmutableHashSet<IActorRef> toDie, SuspendReason reason)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Immutable.IImmutableDictionary<String, IChildStats> | children | TBD |
System.Collections.Immutable.ImmutableHashSet<IActorRef> | toDie | TBD |
SuspendReason | reason | TBD |
Properties
| Improve this Doc View SourceIsNormal
TBD
Declaration
public override bool IsNormal { get; }
Property Value
Type | Description |
---|---|
Boolean |
Overrides
| Improve this Doc View SourceIsTerminating
TBD
Declaration
public override bool IsTerminating { get; }
Property Value
Type | Description |
---|---|
Boolean |
Overrides
| Improve this Doc View SourceReason
TBD
Declaration
public SuspendReason Reason { get; }
Property Value
Type | Description |
---|---|
SuspendReason |
ToDie
Declaration
public ImmutableHashSet<IActorRef> ToDie { get; }
Property Value
Type | Description |
---|---|
System.Collections.Immutable.ImmutableHashSet<IActorRef> |
Methods
| Improve this Doc View SourceAdd(String, ChildRestartStats)
TBD
Declaration
public override IChildrenContainer Add(string name, ChildRestartStats stats)
Parameters
Type | Name | Description |
---|---|---|
String | name | TBD |
ChildRestartStats | stats | TBD |
Returns
Type | Description |
---|---|
IChildrenContainer | TBD |
Overrides
| Improve this Doc View SourceCreateCopyWithReason(SuspendReason)
TBD
Declaration
public IChildrenContainer CreateCopyWithReason(SuspendReason reason)
Parameters
Type | Name | Description |
---|---|---|
SuspendReason | reason | TBD |
Returns
Type | Description |
---|---|
IChildrenContainer | TBD |
Remove(IActorRef)
TBD
Declaration
public override IChildrenContainer Remove(IActorRef child)
Parameters
Type | Name | Description |
---|---|---|
IActorRef | child | TBD |
Returns
Type | Description |
---|---|
IChildrenContainer | TBD |
Overrides
| Improve this Doc View SourceReserve(String)
TBD
Declaration
public override IChildrenContainer Reserve(string name)
Parameters
Type | Name | Description |
---|---|---|
String | name | TBD |
Returns
Type | Description |
---|---|
IChildrenContainer | TBD |
Overrides
Exceptions
Type | Condition |
---|---|
InvalidOperationException | This exception is thrown if the given |
InvalidActorNameException | This exception is thrown if the given |
ShallDie(IActorRef)
TBD
Declaration
public override IChildrenContainer ShallDie(IActorRef actor)
Parameters
Type | Name | Description |
---|---|---|
IActorRef | actor | TBD |
Returns
Type | Description |
---|---|
IChildrenContainer | TBD |
Overrides
| Improve this Doc View SourceToString()
TBD
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String | TBD |
Overrides
| Improve this Doc View SourceUnreserve(String)
TBD
Declaration
public override IChildrenContainer Unreserve(string name)
Parameters
Type | Name | Description |
---|---|---|
String | name | TBD |
Returns
Type | Description |
---|---|
IChildrenContainer | TBD |