public ToSurrogate ( ActorSystem system ) : ISurrogate | ||
system | ActorSystem | The actor system that owns this router. |
return | ISurrogate |
public override ISurrogate ToSurrogate(ActorSystem system)
{
return new TailChoppingPoolSurrogate
{
Interval = _interval,
Within = _within,
NrOfInstances = NrOfInstances,
UsePoolDispatcher = UsePoolDispatcher,
Resizer = Resizer,
SupervisorStrategy = SupervisorStrategy,
RouterDispatcher = RouterDispatcher,
};
}