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
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ClientStats
  2. Updatable
  3. GeneratedMessage
  4. Serializable
  5. Product
  6. Equals
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. 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

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def addAllCallsFinishedWithDrop(__vs: Iterable[ClientStatsPerToken]): ClientStats
  5. def addCallsFinishedWithDrop(__vs: ClientStatsPerToken*): ClientStats
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. val callsFinishedWithDrop: Seq[ClientStatsPerToken]
  8. def clearCallsFinishedWithDrop: ClientStats
  9. def clearTimestamp: ClientStats
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
  11. def companion: ClientStats.type
    Definition Classes
    ClientStats → GeneratedMessage
  12. def discardUnknownFields: ClientStats
  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  15. def getField(__field: FieldDescriptor): PValue
    Definition Classes
    ClientStats → GeneratedMessage
  16. def getFieldByNumber(__fieldNumber: Int): Any
    Definition Classes
    ClientStats → GeneratedMessage
  17. def getTimestamp: Timestamp
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  22. val numCallsFinished: Long
  23. val numCallsFinishedKnownReceived: Long
  24. val numCallsFinishedWithClientFailedToSend: Long
  25. val numCallsStarted: Long
  26. def productElementNames: Iterator[String]
    Definition Classes
    Product
  27. def serializedSize: Int
    Definition Classes
    ClientStats → GeneratedMessage
  28. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  29. val timestamp: Option[Timestamp]
  30. final def toByteArray: Array[Byte]
    Definition Classes
    GeneratedMessage
  31. final def toByteString: ByteString
    Definition Classes
    GeneratedMessage
  32. final def toPMessage: PMessage
    Definition Classes
    GeneratedMessage
  33. def toProtoString: String
    Definition Classes
    ClientStats → GeneratedMessage
  34. val unknownFields: UnknownFieldSet
  35. def update(ms: (Lens[ClientStats, ClientStats]) => Mutation[ClientStats]*): ClientStats
    Definition Classes
    Updatable
  36. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  37. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  38. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  39. def withCallsFinishedWithDrop(__v: Seq[ClientStatsPerToken]): ClientStats
  40. def withNumCallsFinished(__v: Long): ClientStats
  41. def withNumCallsFinishedKnownReceived(__v: Long): ClientStats
  42. def withNumCallsFinishedWithClientFailedToSend(__v: Long): ClientStats
  43. def withNumCallsStarted(__v: Long): ClientStats
  44. def withTimestamp(__v: Timestamp): ClientStats
  45. def withUnknownFields(__v: UnknownFieldSet): ClientStats
  46. final def writeDelimitedTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage
  47. def writeTo(_output__: CodedOutputStream): Unit
    Definition Classes
    ClientStats → GeneratedMessage
  48. final def writeTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from Updatable[ClientStats]

Inherited from GeneratedMessage

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped