Class/Object

com.youtube.vitess.proto.query

StreamHealthResponse

Related Docs: object StreamHealthResponse | package query

Permalink

final case class StreamHealthResponse(target: Option[Target] = None, serving: Boolean = false, tabletExternallyReparentedTimestamp: Long = 0L, realtimeStats: Option[RealtimeStats] = None) extends GeneratedMessage with Message[StreamHealthResponse] with Updatable[StreamHealthResponse] with Product with Serializable

StreamHealthResponse is streamed by StreamHealth on a regular basis

target

target is the current server type. Only queries with that exact Target record will be accepted.

serving

serving is true iff the tablet is serving. A tablet may not be serving if filtered replication is enabled on a master for instance, or if a replica should not be used because the keyspace is being resharded.

tabletExternallyReparentedTimestamp

tablet_externally_reparented_timestamp contains the last time tabletmanager.TabletExternallyReparented was called on this tablet, or 0 if it was never called. This is meant to differentiate two tablets that report a target.TabletType of MASTER, only the one with the latest timestamp should be trusted.

realtimeStats

realtime_stats contains information about the tablet status

Annotations
@SerialVersionUID()
Linear Supertypes
Product, Equals, Updatable[StreamHealthResponse], Message[StreamHealthResponse], GeneratedMessage, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. StreamHealthResponse
  2. Product
  3. Equals
  4. Updatable
  5. Message
  6. GeneratedMessage
  7. Serializable
  8. Serializable
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new StreamHealthResponse(target: Option[Target] = None, serving: Boolean = false, tabletExternallyReparentedTimestamp: Long = 0L, realtimeStats: Option[RealtimeStats] = None)

    Permalink

    target

    target is the current server type. Only queries with that exact Target record will be accepted.

    serving

    serving is true iff the tablet is serving. A tablet may not be serving if filtered replication is enabled on a master for instance, or if a replica should not be used because the keyspace is being resharded.

    tabletExternallyReparentedTimestamp

    tablet_externally_reparented_timestamp contains the last time tabletmanager.TabletExternallyReparented was called on this tablet, or 0 if it was never called. This is meant to differentiate two tablets that report a target.TabletType of MASTER, only the one with the latest timestamp should be trusted.

    realtimeStats

    realtime_stats contains information about the tablet status

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clearRealtimeStats: StreamHealthResponse

    Permalink
  6. def clearTarget: StreamHealthResponse

    Permalink
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def companion: StreamHealthResponse.type

    Permalink
    Definition Classes
    StreamHealthResponse → GeneratedMessage
  9. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  10. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  12. def getField(__field: FieldDescriptor): PValue

    Permalink
    Definition Classes
    StreamHealthResponse → GeneratedMessage
  13. def getFieldByNumber(__fieldNumber: Int): Any

    Permalink
    Definition Classes
    StreamHealthResponse → GeneratedMessage
  14. def getRealtimeStats: RealtimeStats

    Permalink
  15. def getTarget: Target

    Permalink
  16. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  17. def mergeFrom(_input__: CodedInputStream): StreamHealthResponse

    Permalink
    Definition Classes
    StreamHealthResponse → Message
  18. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  19. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. val realtimeStats: Option[RealtimeStats]

    Permalink

    realtime_stats contains information about the tablet status

  22. final def serializedSize: Int

    Permalink
    Definition Classes
    StreamHealthResponse → GeneratedMessage
  23. val serving: Boolean

    Permalink

    serving is true iff the tablet is serving.

    serving is true iff the tablet is serving. A tablet may not be serving if filtered replication is enabled on a master for instance, or if a replica should not be used because the keyspace is being resharded.

  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  25. val tabletExternallyReparentedTimestamp: Long

    Permalink

    tablet_externally_reparented_timestamp contains the last time tabletmanager.TabletExternallyReparented was called on this tablet, or 0 if it was never called.

    tablet_externally_reparented_timestamp contains the last time tabletmanager.TabletExternallyReparented was called on this tablet, or 0 if it was never called. This is meant to differentiate two tablets that report a target.TabletType of MASTER, only the one with the latest timestamp should be trusted.

  26. val target: Option[Target]

    Permalink

    target is the current server type.

    target is the current server type. Only queries with that exact Target record will be accepted.

  27. def toByteArray: Array[Byte]

    Permalink
    Definition Classes
    GeneratedMessage
  28. def toByteString: ByteString

    Permalink
    Definition Classes
    GeneratedMessage
  29. def toPMessage: PMessage

    Permalink
    Definition Classes
    GeneratedMessage
  30. def toString(): String

    Permalink
    Definition Classes
    StreamHealthResponse → AnyRef → Any
  31. def update(ms: (Lens[StreamHealthResponse, StreamHealthResponse]) ⇒ Mutation[StreamHealthResponse]*): StreamHealthResponse

    Permalink
    Definition Classes
    Updatable
  32. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. def withRealtimeStats(__v: RealtimeStats): StreamHealthResponse

    Permalink
  36. def withServing(__v: Boolean): StreamHealthResponse

    Permalink
  37. def withTabletExternallyReparentedTimestamp(__v: Long): StreamHealthResponse

    Permalink
  38. def withTarget(__v: Target): StreamHealthResponse

    Permalink
  39. def writeDelimitedTo(output: OutputStream): Unit

    Permalink
    Definition Classes
    GeneratedMessage
  40. def writeTo(_output__: CodedOutputStream): Unit

    Permalink
    Definition Classes
    StreamHealthResponse → GeneratedMessage
  41. def writeTo(output: OutputStream): Unit

    Permalink
    Definition Classes
    GeneratedMessage

Deprecated Value Members

  1. def getAllFields: Map[FieldDescriptor, Any]

    Permalink
    Definition Classes
    GeneratedMessage
    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.0) Use toPMessage

  2. def getField(field: FieldDescriptor): Any

    Permalink
    Definition Classes
    GeneratedMessage
    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.0) Use getField that accepts a ScalaPB descriptor and returns PValue

Inherited from Product

Inherited from Equals

Inherited from Updatable[StreamHealthResponse]

Inherited from Message[StreamHealthResponse]

Inherited from GeneratedMessage

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped