示例#1
0
        public JobRunner(JobDispatcher dispatcher, InvocationQueue queue, ConfigurationHub config, Clock clock, CloudBlobContainer logContainer)
            : this(config.GetSection<WorkConfiguration>().PollInterval)
        {
            Dispatcher = dispatcher;
            Queue = queue;
            Clock = clock;

            _logContainer = logContainer;
        }
示例#2
0
        public JobRunner(JobDispatcher dispatcher, InvocationQueue queue, ConfigurationHub config, Clock clock, CloudBlobContainer logContainer)
            : this(config.GetSection <WorkConfiguration>().PollInterval)
        {
            Dispatcher = dispatcher;
            Queue      = queue;
            Clock      = clock;

            _logContainer = logContainer;
        }
 public JobComponentsModule(string instanceName, InvocationQueue queue)
 {
     _instanceName = instanceName;
     _queue = queue;
 }
示例#4
0
 public JobComponentsModule(string instanceName, InvocationQueue queue)
 {
     _instanceName = instanceName;
     _queue        = queue;
 }
 public InvocationContext(InvocationState invocation, InvocationQueue queue, CancellationToken cancelToken, InvocationLogCapture capture)
     : this(invocation, queue, cancelToken)
 {
     _capture = capture;
 }
 public InvocationContext(InvocationState invocation, InvocationQueue queue, CancellationToken cancelToken)
 {
     Invocation = invocation;
     Queue = queue;
     CancelToken = cancelToken;
 }
 public InvocationContext(InvocationState invocation, InvocationQueue queue)
     : this(invocation, queue, CancellationToken.None)
 {
 }
示例#8
0
 public JobRunner(JobDispatcher dispatcher, InvocationQueue queue, ConfigurationHub config, Clock clock)
     : this(dispatcher, queue, config, clock, config.Storage.Primary == null ? null : config.Storage.Primary.CreateCloudBlobClient().GetContainerReference(WorkService.InvocationLogsContainerBaseName))
 {
 }
示例#9
0
 public JobRunner(JobDispatcher dispatcher, InvocationQueue queue, ConfigurationHub config, Clock clock)
     : this(dispatcher, queue, config, clock, config.Storage.Primary == null ? null : config.Storage.Primary.CreateCloudBlobClient().GetContainerReference(WorkService.InvocationLogsContainerBaseName))
 {
 }
 public InvocationContext(InvocationState invocation, InvocationQueue queue, CancellationToken cancelToken, InvocationLogCapture capture)
     : this(invocation, queue, cancelToken)
 {
     _capture = capture;
 }
 public InvocationContext(InvocationState invocation, InvocationQueue queue, CancellationToken cancelToken)
 {
     Invocation  = invocation;
     Queue       = queue;
     CancelToken = cancelToken;
 }
 public InvocationContext(InvocationState invocation, InvocationQueue queue)
     : this(invocation, queue, CancellationToken.None)
 {
 }