private IList <MailboxProcessor> GetMailboxProcessors(IRequestQueueManager queueManager) { IGetMoveInfo getMoveInfo = new GetMoveInfo(base.Logger, this.CmdletPool); IEventNotificationSender eventNotificationSender = new EventNotificationSender(); IMailboxPolicy[] mailboxPolicies = this.GetMailboxPolicies(eventNotificationSender); return(new MailboxProcessor[] { new MailboxStatisticsLogger(base.Logger, this.LogCollector), new MailboxPolicyProcessor(base.Logger, getMoveInfo, this.MoveInjector, mailboxPolicies) }); }
public RebalancingRequestMoveStarter(IClientFactory clientFactory, ILogger logger, IRequestQueueManager queueManager) { this.clientFactory = clientFactory; this.logger = logger; this.queueManager = queueManager; }
public ProxyMiddleware(RequestDelegate next, IRequestQueueManager queueManager, IMicroserviceManager serviceManager) { this.next = next; this.queueManager = queueManager; this.serviceManager = serviceManager; }