Table of Contents

Constructor ClaimRequest

Namespace
Millrace.Storage
Assembly
Millrace.dll

ClaimRequest(string, IReadOnlyList<string>, int, TimeSpan)

A worker's request to claim jobs. Queues is an unordered filter set — selection order (Priority DESC, then FIFO by enqueue order) applies across the union of the requested queues with no queue precedence.

public ClaimRequest(string WorkerId, IReadOnlyList<string> Queues, int MaxCount, TimeSpan LeaseDuration)

Parameters

WorkerId string
Queues IReadOnlyList<string>
MaxCount int
LeaseDuration TimeSpan