public DefaultBoltConnection(BoltChannel channel, PackOutput output, BoltStateMachine machine, LogService logService, BoltConnectionLifetimeListener listener, BoltConnectionQueueMonitor queueMonitor, int maxBatchSize)
 {
     this._id           = channel.Id();
     this._channel      = channel;
     this._output       = output;
     this._machine      = machine;
     this._listener     = listener;
     this._queueMonitor = queueMonitor;
     this._log          = logService.GetInternalLog(this.GetType());
     this._userLog      = logService.GetUserLog(this.GetType());
     this._maxBatchSize = maxBatchSize;
     this._batch        = new List <Job>(maxBatchSize);
 }
Beispiel #2
0
 internal MetricsReportingBoltConnection(BoltChannel channel, PackOutput output, BoltStateMachine machine, LogService logService, BoltConnectionLifetimeListener listener, BoltConnectionQueueMonitor queueMonitor, int maxBatchSize, BoltConnectionMetricsMonitor metricsMonitor, Clock clock) : base(channel, output, machine, logService, listener, queueMonitor, maxBatchSize)
 {
     this._metricsMonitor = metricsMonitor;
     this._clock          = clock;
 }
Beispiel #3
0
 internal MetricsReportingBoltConnection(BoltChannel channel, PackOutput output, BoltStateMachine machine, LogService logService, BoltConnectionLifetimeListener listener, BoltConnectionQueueMonitor queueMonitor, BoltConnectionMetricsMonitor metricsMonitor, Clock clock) : this(channel, output, machine, logService, listener, queueMonitor, DefaultMaxBatchSize, metricsMonitor, clock)
 {
 }
 public DefaultBoltConnection(BoltChannel channel, PackOutput output, BoltStateMachine machine, LogService logService, BoltConnectionLifetimeListener listener, BoltConnectionQueueMonitor queueMonitor) : this(channel, output, machine, logService, listener, queueMonitor, DefaultMaxBatchSize)
 {
 }