Class OneForOneStrategy.OneForOneStrategySurrogate
This class represents a surrogate of a OneForOneStrategy router. Its main use is to help during the serialization process.
Implements
Inherited Members
Namespace: Akka.Actor
Assembly: Akka.dll
Syntax
public class OneForOneStrategySurrogate : ISurrogate
Properties
| Improve this Doc View SourceDecider
Declaration
public IDecider Decider { get; set; }
Property Value
Type | Description |
---|---|
IDecider |
LoggingEnabled
Determines if failures are logged
Declaration
public bool LoggingEnabled { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
MaxNumberOfRetries
The number of times a child actor is allowed to be restarted, negative value means no limit, if the limit is exceeded the child actor is stopped.
Declaration
public int MaxNumberOfRetries { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
WithinTimeRangeMilliseconds
The duration in milliseconds of the time window for MaxNumberOfRetries, negative values means no window.
Declaration
public int WithinTimeRangeMilliseconds { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
Methods
| Improve this Doc View SourceFromSurrogate(ActorSystem)
Creates a OneForOneStrategy encapsulated by this surrogate.
Declaration
public ISurrogated FromSurrogate(ActorSystem system)
Parameters
Type | Name | Description |
---|---|---|
ActorSystem | system | The actor system that owns this router. |
Returns
Type | Description |
---|---|
ISurrogated | The OneForOneStrategy encapsulated by this surrogate. |