final case class ClientStats(timestamp: Option[Timestamp] = _root_.scala.None, numCallsStarted: Long = 0L, numCallsFinished: Long = 0L, numCallsFinishedWithClientFailedToSend: Long = 0L, numCallsFinishedKnownReceived: Long = 0L, callsFinishedWithDrop: Seq[ClientStatsPerToken] = _root_.scala.Seq.empty, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty) extends GeneratedMessage with Updatable[ClientStats] with Product with Serializable
Contains client level statistics that are useful to load balancing. Each count except the timestamp should be reset to zero after reporting the stats.
- timestamp
The timestamp of generating the report.
- numCallsStarted
The total number of RPCs that started.
- numCallsFinished
The total number of RPCs that finished.
- numCallsFinishedWithClientFailedToSend
The total number of RPCs that failed to reach a server except dropped RPCs.
- numCallsFinishedKnownReceived
The total number of RPCs that finished and are known to have been received by a server.
- callsFinishedWithDrop
The list of dropped calls.
- Annotations
- @SerialVersionUID()
- Source
- ClientStats.scala
- Alphabetic
- By Inheritance
- ClientStats
- Updatable
- GeneratedMessage
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new ClientStats(timestamp: Option[Timestamp] = _root_.scala.None, numCallsStarted: Long = 0L, numCallsFinished: Long = 0L, numCallsFinishedWithClientFailedToSend: Long = 0L, numCallsFinishedKnownReceived: Long = 0L, callsFinishedWithDrop: Seq[ClientStatsPerToken] = _root_.scala.Seq.empty, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty)
- timestamp
The timestamp of generating the report.
- numCallsStarted
The total number of RPCs that started.
- numCallsFinished
The total number of RPCs that finished.
- numCallsFinishedWithClientFailedToSend
The total number of RPCs that failed to reach a server except dropped RPCs.
- numCallsFinishedKnownReceived
The total number of RPCs that finished and are known to have been received by a server.
- callsFinishedWithDrop
The list of dropped calls.
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
- def addAllCallsFinishedWithDrop(__vs: Iterable[ClientStatsPerToken]): ClientStats
- def addCallsFinishedWithDrop(__vs: ClientStatsPerToken*): ClientStats
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val callsFinishedWithDrop: Seq[ClientStatsPerToken]
- def clearCallsFinishedWithDrop: ClientStats
- def clearTimestamp: ClientStats
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def companion: ClientStats.type
- Definition Classes
- ClientStats → GeneratedMessage
- def discardUnknownFields: ClientStats
- 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()
- def getField(__field: FieldDescriptor): PValue
- Definition Classes
- ClientStats → GeneratedMessage
- def getFieldByNumber(__fieldNumber: Int): Any
- Definition Classes
- ClientStats → GeneratedMessage
- def getTimestamp: Timestamp
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- 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()
- val numCallsFinished: Long
- val numCallsFinishedKnownReceived: Long
- val numCallsFinishedWithClientFailedToSend: Long
- val numCallsStarted: Long
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def serializedSize: Int
- Definition Classes
- ClientStats → GeneratedMessage
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val timestamp: Option[Timestamp]
- 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
- ClientStats → GeneratedMessage
- val unknownFields: UnknownFieldSet
- def update(ms: (Lens[ClientStats, ClientStats]) => Mutation[ClientStats]*): ClientStats
- Definition Classes
- Updatable
- 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 withCallsFinishedWithDrop(__v: Seq[ClientStatsPerToken]): ClientStats
- def withNumCallsFinished(__v: Long): ClientStats
- def withNumCallsFinishedKnownReceived(__v: Long): ClientStats
- def withNumCallsFinishedWithClientFailedToSend(__v: Long): ClientStats
- def withNumCallsStarted(__v: Long): ClientStats
- def withTimestamp(__v: Timestamp): ClientStats
- def withUnknownFields(__v: UnknownFieldSet): ClientStats
- final def writeDelimitedTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
- def writeTo(_output__: CodedOutputStream): Unit
- Definition Classes
- ClientStats → GeneratedMessage
- final def writeTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage