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]) @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. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  15. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. def getField(__field: FieldDescriptor): PValue
    Definition Classes
    ClientStats → GeneratedMessage
  17. def getFieldByNumber(__fieldNumber: Int): Any
    Definition Classes
    ClientStats → GeneratedMessage
  18. def getTimestamp: Timestamp
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. val numCallsFinished: Long
  24. val numCallsFinishedKnownReceived: Long
  25. val numCallsFinishedWithClientFailedToSend: Long
  26. val numCallsStarted: Long
  27. def productElementNames: Iterator[String]
    Definition Classes
    Product
  28. def serializedSize: Int
    Definition Classes
    ClientStats → GeneratedMessage
  29. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  30. val timestamp: Option[Timestamp]
  31. final def toByteArray: Array[Byte]
    Definition Classes
    GeneratedMessage
  32. final def toByteString: ByteString
    Definition Classes
    GeneratedMessage
  33. final def toPMessage: PMessage
    Definition Classes
    GeneratedMessage
  34. def toProtoString: String
    Definition Classes
    ClientStats → GeneratedMessage
  35. val unknownFields: UnknownFieldSet
  36. def update(ms: (Lens[ClientStats, ClientStats]) => Mutation[ClientStats]*): ClientStats
    Definition Classes
    Updatable
  37. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  38. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  39. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  40. def withCallsFinishedWithDrop(__v: Seq[ClientStatsPerToken]): ClientStats
  41. def withNumCallsFinished(__v: Long): ClientStats
  42. def withNumCallsFinishedKnownReceived(__v: Long): ClientStats
  43. def withNumCallsFinishedWithClientFailedToSend(__v: Long): ClientStats
  44. def withNumCallsStarted(__v: Long): ClientStats
  45. def withTimestamp(__v: Timestamp): ClientStats
  46. def withUnknownFields(__v: UnknownFieldSet): ClientStats
  47. final def writeDelimitedTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage
  48. def writeTo(_output__: CodedOutputStream): Unit
    Definition Classes
    ClientStats → GeneratedMessage
  49. final def writeTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage

Inherited from Updatable[ClientStats]

Inherited from GeneratedMessage

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped