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

WithSupervisorStrategy() 공개 메소드

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