RateLimitInfo

com.google.bigtable.v2.bigtable.RateLimitInfo
See theRateLimitInfo companion object
final case class RateLimitInfo(period: Option[Duration], factor: Double, unknownFields: UnknownFieldSet) extends GeneratedMessage with Updatable[RateLimitInfo]

Information about how client should adjust the load to Bigtable.

Attributes

factor

If it has been at least one period since the last load adjustment, the client should multiply the current load by this value to get the new target load. For example, if the current load is 100 and factor is 0.8, the new target load should be 80. After adjusting, the client should ignore factor until another period has passed. The client can measure its load using any unit that's comparable over time For example, QPS can be used as long as each request involves a similar amount of work.

period

Time that clients should wait before adjusting the target rate again. If clients adjust rate too frequently, the impact of the previous adjustment may not have been taken into account and may over-throttle or under-throttle. If clients adjust rate too slowly, they will not be responsive to load changes on server side, and may over-throttle or under-throttle.

Companion:
object
Source:
RateLimitInfo.scala
Graph
Supertypes
trait Updatable[RateLimitInfo]
trait GeneratedMessage
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

Attributes

Source:
RateLimitInfo.scala
def getField(`__field`: FieldDescriptor): PValue

Attributes

Source:
RateLimitInfo.scala
def getFieldByNumber(`__fieldNumber`: Int): Any

Attributes

Source:
RateLimitInfo.scala
override def serializedSize: Int

Attributes

Definition Classes
GeneratedMessage
Source:
RateLimitInfo.scala

Returns a human-readable ASCII format representation of this message.

Returns a human-readable ASCII format representation of this message.

The original message can be decoded from this format by using fromAscii on the companion object.

Attributes

Returns:

human-readable representation of this message.

Source:
RateLimitInfo.scala

Attributes

Source:
RateLimitInfo.scala
def withUnknownFields(`__v`: UnknownFieldSet): RateLimitInfo

Attributes

Source:
RateLimitInfo.scala
def writeTo(`_output__`: CodedOutputStream): Unit

Serializes the message into the given coded output stream

Serializes the message into the given coded output stream

Attributes

Source:
RateLimitInfo.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product
final def toByteArray: Array[Byte]

Serializes the message and returns a byte array containing its raw bytes

Serializes the message and returns a byte array containing its raw bytes

Attributes

Inherited from:
GeneratedMessage
Source:
GeneratedMessageCompanion.scala
final def toByteString: ByteString

Serializes the message and returns a ByteString containing its raw bytes

Serializes the message and returns a ByteString containing its raw bytes

Attributes

Inherited from:
GeneratedMessage
Source:
GeneratedMessageCompanion.scala
final def toPMessage: PMessage

Attributes

Inherited from:
GeneratedMessage
Source:
GeneratedMessageCompanion.scala
def update(ms: Lens[RateLimitInfo, RateLimitInfo] => () => RateLimitInfo*): A

Attributes

Inherited from:
Updatable
Source:
Lenses.scala
final def writeDelimitedTo(output: OutputStream): Unit

Attributes

Inherited from:
GeneratedMessage
Source:
GeneratedMessageCompanion.scala
final def writeTo(output: OutputStream): Unit

Serializes the message into the given output stream

Serializes the message into the given output stream

Attributes

Inherited from:
GeneratedMessage
Source:
GeneratedMessageCompanion.scala