com.digitalasset.canton.protocol.v0
TrafficControlParameters
Companion object TrafficControlParameters
final case class TrafficControlParameters(maxBaseTrafficAmount: Long, maxBaseTrafficAccumulationDuration: Option[Duration], readVsWriteScalingFactor: Int) extends GeneratedMessage with Updatable[TrafficControlParameters] with Product with Serializable
- maxBaseTrafficAmount
In bytes, the maximum amount of base traffic that can be accumulated
- maxBaseTrafficAccumulationDuration
Maximum duration over which the base rate can be accumulated Consequently, base_traffic_rate = max_base_traffic_amount / max_base_traffic_accumulation_duration
- readVsWriteScalingFactor
Read scaling factor to compute the event cost. In parts per 10 000.
- Annotations
- @SerialVersionUID()
- Alphabetic
- By Inheritance
- TrafficControlParameters
- Updatable
- GeneratedMessage
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new TrafficControlParameters(maxBaseTrafficAmount: Long, maxBaseTrafficAccumulationDuration: Option[Duration], readVsWriteScalingFactor: Int)
- maxBaseTrafficAmount
In bytes, the maximum amount of base traffic that can be accumulated
- maxBaseTrafficAccumulationDuration
Maximum duration over which the base rate can be accumulated Consequently, base_traffic_rate = max_base_traffic_amount / max_base_traffic_accumulation_duration
- readVsWriteScalingFactor
Read scaling factor to compute the event cost. In parts per 10 000.
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
- def clearMaxBaseTrafficAccumulationDuration: TrafficControlParameters
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- def companion: TrafficControlParameters.type
- Definition Classes
- TrafficControlParameters → GeneratedMessage
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def getField(__field: FieldDescriptor): PValue
- Definition Classes
- TrafficControlParameters → GeneratedMessage
- def getFieldByNumber(__fieldNumber: Int): Any
- Definition Classes
- TrafficControlParameters → GeneratedMessage
- def getMaxBaseTrafficAccumulationDuration: Duration
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val maxBaseTrafficAccumulationDuration: Option[Duration]
- val maxBaseTrafficAmount: Long
- 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: Int
- def serializedSize: Int
- Definition Classes
- TrafficControlParameters → GeneratedMessage
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def toByteArray: Array[Byte]
- Definition Classes
- GeneratedMessage
- final def toByteString: ByteString
- Definition Classes
- GeneratedMessage
- final def toPMessage: PMessage
- Definition Classes
- GeneratedMessage
- def toProtoString: String
- Definition Classes
- TrafficControlParameters → GeneratedMessage
- def update(ms: (Lens[TrafficControlParameters, TrafficControlParameters]) => Mutation[TrafficControlParameters]*): TrafficControlParameters
- Definition Classes
- Updatable
- 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])
- def withMaxBaseTrafficAccumulationDuration(__v: Duration): TrafficControlParameters
- def withMaxBaseTrafficAmount(__v: Long): TrafficControlParameters
- def withReadVsWriteScalingFactor(__v: Int): TrafficControlParameters
- final def writeDelimitedTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
- def writeTo(_output__: CodedOutputStream): Unit
- Definition Classes
- TrafficControlParameters → GeneratedMessage
- final def writeTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage