public New( GroupName groupName, ConsumerName consumerName, Count count, Mode mode, params Key[] streams) : this(groupName, consumerName, count, mode, streams as IReadOnlyList <Key>) { }
public BLOCK( GroupName groupName, ConsumerName consumerName, Count count, MillisecondsTimeout blockTimeout, Mode mode, params Key[] streams) : this(groupName, consumerName, count, blockTimeout, mode, streams as IReadOnlyList <Key>) { }
public New( GroupName groupName, ConsumerName consumerName, Count count, Mode mode, IReadOnlyList <Key> streams) { this.groupName = groupName; this.consumerName = consumerName; this.count = count; this.mode = mode; this.streams = streams; }
public BLOCK( GroupName groupName, ConsumerName consumerName, Count count, MillisecondsTimeout blockTimeout, Mode mode, IReadOnlyList <Key> streams) { ValidateMode(mode); this.groupName = groupName; this.consumerName = consumerName; this.count = count ?? throw new ArgumentNullException(nameof(count)); this.blockTimeout = blockTimeout; this.streams = streams ?? throw new ArgumentNullException(nameof(streams)); this.mode = mode; }
public ByConsumer( Key key, GroupName groupName, Interval interval, long count, ConsumerName consumerName) { if (count < 1) { throw new ArgumentOutOfRangeException(nameof(count), count, "Must be positive"); } this.key = key ?? throw new ArgumentNullException(nameof(key)); this.groupName = groupName; this.interval = interval ?? throw new ArgumentNullException(nameof(interval)); this.count = count; this.consumerName = consumerName; }
public XCLAIM( Key key, GroupName groupName, ConsumerName consumerName, Milliseconds minimumIdleTime, IReadOnlyList <Id> ids) { if (ids == null) { throw new ArgumentNullException(nameof(ids)); } if (ids.Count < 1) { throw new ArgumentException("Must contain items", nameof(ids)); } this.key = key ?? throw new ArgumentNullException(nameof(key)); this.groupName = groupName; this.consumerName = consumerName; this.minimumIdleTime = minimumIdleTime; this.ids = ids; }
public DELCONSUMER(Key key, GroupName groupName, ConsumerName consumerName) { this.key = key ?? throw new ArgumentNullException(nameof(key)); this.groupName = groupName; this.consumerName = consumerName; }