[−][src]Struct k8s_openapi::api::flowcontrol::v1alpha1::QueuingConfiguration
QueuingConfiguration holds the configuration parameters for queuing
Fields
hand_size: Option<i32>
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.
queue_length_limit: Option<i32>
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.
queues: Option<i32>
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.
Trait Implementations
impl Clone for QueuingConfiguration
[src]
pub fn clone(&self) -> QueuingConfiguration
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for QueuingConfiguration
[src]
impl Default for QueuingConfiguration
[src]
pub fn default() -> QueuingConfiguration
[src]
impl<'de> Deserialize<'de> for QueuingConfiguration
[src]
pub fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
impl PartialEq<QueuingConfiguration> for QueuingConfiguration
[src]
pub fn eq(&self, other: &QueuingConfiguration) -> bool
[src]
pub fn ne(&self, other: &QueuingConfiguration) -> bool
[src]
impl Serialize for QueuingConfiguration
[src]
impl StructuralPartialEq for QueuingConfiguration
[src]
Auto Trait Implementations
impl RefUnwindSafe for QueuingConfiguration
[src]
impl Send for QueuingConfiguration
[src]
impl Sync for QueuingConfiguration
[src]
impl Unpin for QueuingConfiguration
[src]
impl UnwindSafe for QueuingConfiguration
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,