final case class ChannelData(state: Option[ChannelConnectivityState] = _root_.scala.None, target: String = "", trace: Option[ChannelTrace] = _root_.scala.None, callsStarted: Long = 0L, callsSucceeded: Long = 0L, callsFailed: Long = 0L, lastCallStartedTimestamp: Option[Timestamp] = _root_.scala.None, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty) extends GeneratedMessage with Updatable[ChannelData] with Product with Serializable

Channel data is data related to a specific Channel or Subchannel.

state

The connectivity state of the channel or subchannel. Implementations should always set this.

target

The target this channel originally tried to connect to. May be absent

trace

A trace of recent events on the channel. May be absent.

callsStarted

The number of calls started on the channel

callsSucceeded

The number of calls that have completed with an OK status

callsFailed

The number of calls that have completed with a non-OK status

lastCallStartedTimestamp

The last time a call was started on the channel.

Annotations
@SerialVersionUID()
Source
ChannelData.scala
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ChannelData
  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 ChannelData(state: Option[ChannelConnectivityState] = _root_.scala.None, target: String = "", trace: Option[ChannelTrace] = _root_.scala.None, callsStarted: Long = 0L, callsSucceeded: Long = 0L, callsFailed: Long = 0L, lastCallStartedTimestamp: Option[Timestamp] = _root_.scala.None, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty)

    state

    The connectivity state of the channel or subchannel. Implementations should always set this.

    target

    The target this channel originally tried to connect to. May be absent

    trace

    A trace of recent events on the channel. May be absent.

    callsStarted

    The number of calls started on the channel

    callsSucceeded

    The number of calls that have completed with an OK status

    callsFailed

    The number of calls that have completed with a non-OK status

    lastCallStartedTimestamp

    The last time a call was started on the channel.

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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. val callsFailed: Long
  6. val callsStarted: Long
  7. val callsSucceeded: Long
  8. def clearLastCallStartedTimestamp: ChannelData
  9. def clearState: ChannelData
  10. def clearTrace: ChannelData
  11. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
  12. def companion: ChannelData.type
    Definition Classes
    ChannelData → GeneratedMessage
  13. def discardUnknownFields: ChannelData
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  16. def getField(__field: FieldDescriptor): PValue
    Definition Classes
    ChannelData → GeneratedMessage
  17. def getFieldByNumber(__fieldNumber: Int): Any
    Definition Classes
    ChannelData → GeneratedMessage
  18. def getLastCallStartedTimestamp: Timestamp
  19. def getState: ChannelConnectivityState
  20. def getTrace: ChannelTrace
  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. val lastCallStartedTimestamp: Option[Timestamp]
  23. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  25. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  26. def productElementNames: Iterator[String]
    Definition Classes
    Product
  27. def serializedSize: Int
    Definition Classes
    ChannelData → GeneratedMessage
  28. val state: Option[ChannelConnectivityState]
  29. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  30. val target: String
  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
    ChannelData → GeneratedMessage
  35. val trace: Option[ChannelTrace]
  36. val unknownFields: UnknownFieldSet
  37. def update(ms: (Lens[ChannelData, ChannelData]) => Mutation[ChannelData]*): ChannelData
    Definition Classes
    Updatable
  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. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  41. def withCallsFailed(__v: Long): ChannelData
  42. def withCallsStarted(__v: Long): ChannelData
  43. def withCallsSucceeded(__v: Long): ChannelData
  44. def withLastCallStartedTimestamp(__v: Timestamp): ChannelData
  45. def withState(__v: ChannelConnectivityState): ChannelData
  46. def withTarget(__v: String): ChannelData
  47. def withTrace(__v: ChannelTrace): ChannelData
  48. def withUnknownFields(__v: UnknownFieldSet): ChannelData
  49. final def writeDelimitedTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage
  50. def writeTo(_output__: CodedOutputStream): Unit
    Definition Classes
    ChannelData → GeneratedMessage
  51. 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[ChannelData]

Inherited from GeneratedMessage

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped