コード例 #1
0
 public ExecutorRegistryProcessor(ILogger <ExecutorRegistryProcessor> logger,
                                  XxlJobOptions options,
                                  IXxlJobExecutor xxlJobExecutor)
 {
     _logger         = logger;
     _options        = options;
     _xxlJobExecutor = xxlJobExecutor;
 }
コード例 #2
0
 public XxlJobSender(IXxlJobServicesProvider <IXxlJobExecutorHandler> handlerProvider,
                     ILogger <XxlJobSender> logger,
                     IXxlJobExecutor adminExecutor,
                     XxlJobOptions options)
 {
     _handlerProvider = handlerProvider;
     _logger          = logger;
     _adminExecutor   = adminExecutor;
     _options         = options;
 }