Show / Hide Table of Contents

Class V1QueuingConfiguration

QueuingConfiguration holds the configuration parameters for queuing

Inheritance
object
V1QueuingConfiguration
Implements
IEquatable<V1QueuingConfiguration>
Inherited Members
object.GetType()
object.MemberwiseClone()
object.Equals(object, object)
object.ReferenceEquals(object, object)
Namespace: k8s.Models
Assembly: KubernetesClient.dll
Syntax
public record V1QueuingConfiguration : IEquatable<V1QueuingConfiguration>

Constructors

View Source

V1QueuingConfiguration()

Declaration
public V1QueuingConfiguration()
View Source

V1QueuingConfiguration(V1QueuingConfiguration)

Declaration
protected V1QueuingConfiguration(V1QueuingConfiguration original)
Parameters
Type Name Description
V1QueuingConfiguration original

Properties

View Source

EqualityContract

Declaration
protected virtual Type EqualityContract { get; }
Property Value
Type Description
Type
View Source

HandSize

handSize is a small positive number that configures the shuffle sharding of requests into queues. When enqueuing a request at this priority level the request's flow identifier (a string pair) is hashed and the hash value is used to shuffle the list of queues and deal a hand of the size specified here. The request is put into one of the shortest queues in that hand. handSize must be no larger than queues, and should be significantly smaller (so that a few heavy flows do not saturate most of the queues). See the user-facing documentation for more extensive guidance on setting this field. This field has a default value of 8.

Declaration
[JsonPropertyName("handSize")]
public int? HandSize { get; set; }
Property Value
Type Description
int?
View Source

QueueLengthLimit

queueLengthLimit is the maximum number of requests allowed to be waiting in a given queue of this priority level at a time; excess requests are rejected. This value must be positive. If not specified, it will be defaulted to 50.

Declaration
[JsonPropertyName("queueLengthLimit")]
public int? QueueLengthLimit { get; set; }
Property Value
Type Description
int?
View Source

Queues

queues is the number of queues for this priority level. The queues exist independently at each apiserver. The value must be positive. Setting it to 1 effectively precludes shufflesharding and thus makes the distinguisher method of associated flow schemas irrelevant. This field has a default value of 64.

Declaration
[JsonPropertyName("queues")]
public int? Queues { get; set; }
Property Value
Type Description
int?

Methods

View Source

Equals(object?)

Declaration
public override bool Equals(object? obj)
Parameters
Type Name Description
object obj
Returns
Type Description
bool
Overrides
object.Equals(object)
View Source

Equals(V1QueuingConfiguration?)

Declaration
public virtual bool Equals(V1QueuingConfiguration? other)
Parameters
Type Name Description
V1QueuingConfiguration other
Returns
Type Description
bool
View Source

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
int
Overrides
object.GetHashCode()
View Source

PrintMembers(StringBuilder)

Declaration
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
Type Name Description
StringBuilder builder
Returns
Type Description
bool
View Source

ToString()

Declaration
public override string ToString()
Returns
Type Description
string
Overrides
object.ToString()

Operators

View Source

operator ==(V1QueuingConfiguration?, V1QueuingConfiguration?)

Declaration
public static bool operator ==(V1QueuingConfiguration? left, V1QueuingConfiguration? right)
Parameters
Type Name Description
V1QueuingConfiguration left
V1QueuingConfiguration right
Returns
Type Description
bool
View Source

operator !=(V1QueuingConfiguration?, V1QueuingConfiguration?)

Declaration
public static bool operator !=(V1QueuingConfiguration? left, V1QueuingConfiguration? right)
Parameters
Type Name Description
V1QueuingConfiguration left
V1QueuingConfiguration right
Returns
Type Description
bool

Implements

IEquatable<T>
  • View Source
In this article
Back to top Generated by DocFX