c
io.k8s.api.flowcontrol.v1beta1
LimitedPriorityLevelConfiguration
Companion object LimitedPriorityLevelConfiguration
final case class LimitedPriorityLevelConfiguration(assuredConcurrencyShares: Option[Int] = None, limitResponse: Option[LimitResponse] = None) extends Product with Serializable
LimitedPriorityLevelConfiguration specifies how to handle requests that are subject to limits. It addresses two issues:
- How are requests for this priority level limited?
- What should be done with requests that exceed the limit?
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- LimitedPriorityLevelConfiguration
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new LimitedPriorityLevelConfiguration(assuredConcurrencyShares: Option[Int] = None, limitResponse: Option[LimitResponse] = None)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val assuredConcurrencyShares: Option[Int]
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val limitResponse: Option[LimitResponse]
- def mapAssuredConcurrencyShares(f: (Int) => Int): LimitedPriorityLevelConfiguration
if assuredConcurrencyShares has a value, transforms to the result of function
- def mapLimitResponse(f: (LimitResponse) => LimitResponse): LimitedPriorityLevelConfiguration
if limitResponse has a value, transforms to the result of function
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def withAssuredConcurrencyShares(value: Int): LimitedPriorityLevelConfiguration
Returns a new data with assuredConcurrencyShares set to new value
- def withLimitResponse(value: LimitResponse): LimitedPriorityLevelConfiguration
Returns a new data with limitResponse set to new value