다음을 통해 공유


LongestIdleMode Class

Definition

Jobs are directed to the worker who has been idle longest.

public class LongestIdleMode : Azure.Communication.JobRouter.DistributionMode
public class LongestIdleMode : Azure.Communication.JobRouter.DistributionMode, System.ClientModel.Primitives.IJsonModel<Azure.Communication.JobRouter.LongestIdleMode>, System.ClientModel.Primitives.IPersistableModel<Azure.Communication.JobRouter.LongestIdleMode>
type LongestIdleMode = class
    inherit DistributionMode
type LongestIdleMode = class
    inherit DistributionMode
    interface IJsonModel<LongestIdleMode>
    interface IPersistableModel<LongestIdleMode>
Public Class LongestIdleMode
Inherits DistributionMode
Public Class LongestIdleMode
Inherits DistributionMode
Implements IJsonModel(Of LongestIdleMode), IPersistableModel(Of LongestIdleMode)
Inheritance
LongestIdleMode
Implements

Constructors

LongestIdleMode()

Initializes a new instance of LongestIdleMode.

Properties

BypassSelectors

If set to true, then router will match workers to jobs even if they don't match label selectors. Warning: You may get workers that are not qualified for a job they are matched with if you set this variable to true. This flag is intended more for temporary usage. By default, set to false.

(Inherited from DistributionMode)
Kind

The type discriminator describing a sub-type of DistributionMode.

(Inherited from DistributionMode)
MaxConcurrentOffers

Governs the maximum number of active concurrent offers a job can have.

(Inherited from DistributionMode)
MinConcurrentOffers

Governs the minimum desired number of active concurrent offers a job can have.

(Inherited from DistributionMode)

Explicit Interface Implementations

IJsonModel<DistributionMode>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

(Inherited from DistributionMode)
IJsonModel<DistributionMode>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from DistributionMode)
IJsonModel<LongestIdleMode>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<LongestIdleMode>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DistributionMode>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from DistributionMode)
IPersistableModel<DistributionMode>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

(Inherited from DistributionMode)
IPersistableModel<DistributionMode>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from DistributionMode)
IPersistableModel<LongestIdleMode>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<LongestIdleMode>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<LongestIdleMode>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to