public override ISurrogate ToSurrogate(ActorSystem system)
{
return new ConsistentHashingPoolSurrogate
{
NrOfInstances = NrOfInstances,
UsePoolDispatcher = UsePoolDispatcher,
Resizer = Resizer,
SupervisorStrategy = SupervisorStrategy,
RouterDispatcher = RouterDispatcher,
};
}
}