Akka.Routing.ScatterGatherFirstCompletedPool.WithSupervisorStrategy C# (CSharp) 메소드

WithSupervisorStrategy() 공개 메소드

Creates a new ScatterGatherFirstCompletedPool router with a given SupervisorStrategy. This method is immutable and returns a new instance of the router.
public WithSupervisorStrategy ( SupervisorStrategy strategy ) : Pool
strategy SupervisorStrategy The used to configure the new router.
리턴 Pool
        public override Pool WithSupervisorStrategy(SupervisorStrategy strategy)
        {
            return new ScatterGatherFirstCompletedPool(NrOfInstances, Resizer, strategy, RouterDispatcher, _within, UsePoolDispatcher);
        }