final case class TrafficControlConfig(baseRate: NonNegativeLong = DefaultBaseRate, readVsWriteScalingFactor: PositiveInt = PositiveInt.tryCreate(200), maxBurstDuration: NonNegativeDuration = DefaultMaxBurstDuration) extends Product with Serializable
Traffic control configuration values - stored as dynamic domain parameters
- baseRate
amount of byte per second acquired as "free" traffic per member
- readVsWriteScalingFactor
multiplier used to compute cost of an event. In per ten-mil (1 / 10 000). Defaults to 200 (=2%). A multiplier of 2% means the base cost will be increased by 2% to produce the effective cost.
- maxBurstDuration
maximum amount of time the base rate traffic will accumulate before being capped
- Alphabetic
- By Inheritance
- TrafficControlConfig
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new TrafficControlConfig(baseRate: NonNegativeLong = DefaultBaseRate, readVsWriteScalingFactor: PositiveInt = PositiveInt.tryCreate(200), maxBurstDuration: NonNegativeDuration = DefaultMaxBurstDuration)
- baseRate
amount of byte per second acquired as "free" traffic per member
- readVsWriteScalingFactor
multiplier used to compute cost of an event. In per ten-mil (1 / 10 000). Defaults to 200 (=2%). A multiplier of 2% means the base cost will be increased by 2% to produce the effective cost.
- maxBurstDuration
maximum amount of time the base rate traffic will accumulate before being capped
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 baseRate: NonNegativeLong
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- lazy val maxBurst: NonNegativeLong
- val maxBurstDuration: NonNegativeDuration
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val readVsWriteScalingFactor: PositiveInt
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- 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()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])