Class/Object

com.youtube.vitess.proto.vtgate

CommitRequest

Related Docs: object CommitRequest | package vtgate

Permalink

final case class CommitRequest(callerId: Option[CallerID] = None, session: Option[Session] = None, atomic: Boolean = false) extends GeneratedMessage with Message[CommitRequest] with Updatable[CommitRequest] with Product with Serializable

CommitRequest is the payload to Commit.

callerId

caller_id identifies the caller. This is the effective caller ID, set by the application to further identify the caller.

session

session carries the current transaction data to commit.

atomic

atomic specifies if the commit should go through the 2PC workflow to ensure atomicity.

Annotations
@SerialVersionUID()
Linear Supertypes
Product, Equals, Updatable[CommitRequest], Message[CommitRequest], GeneratedMessage, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CommitRequest
  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 CommitRequest(callerId: Option[CallerID] = None, session: Option[Session] = None, atomic: Boolean = false)

    Permalink

    callerId

    caller_id identifies the caller. This is the effective caller ID, set by the application to further identify the caller.

    session

    session carries the current transaction data to commit.

    atomic

    atomic specifies if the commit should go through the 2PC workflow to ensure atomicity.

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. val atomic: Boolean

    Permalink

    atomic specifies if the commit should go through the 2PC workflow to ensure atomicity.

  6. val callerId: Option[CallerID]

    Permalink

    caller_id identifies the caller.

    caller_id identifies the caller. This is the effective caller ID, set by the application to further identify the caller.

  7. def clearCallerId: CommitRequest

    Permalink
  8. def clearSession: CommitRequest

    Permalink
  9. def clone(): AnyRef

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

    Permalink
    Definition Classes
    CommitRequest → GeneratedMessage
  11. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. def getCallerId: CallerID

    Permalink
  14. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    CommitRequest → GeneratedMessage
  16. def getFieldByNumber(__fieldNumber: Int): Any

    Permalink
    Definition Classes
    CommitRequest → GeneratedMessage
  17. def getSession: Session

    Permalink
  18. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  19. def mergeFrom(_input__: CodedInputStream): CommitRequest

    Permalink
    Definition Classes
    CommitRequest → Message
  20. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  23. final def serializedSize: Int

    Permalink
    Definition Classes
    CommitRequest → GeneratedMessage
  24. val session: Option[Session]

    Permalink

    session carries the current transaction data to commit.

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

    Permalink
    Definition Classes
    AnyRef
  26. def toByteArray: Array[Byte]

    Permalink
    Definition Classes
    GeneratedMessage
  27. def toByteString: ByteString

    Permalink
    Definition Classes
    GeneratedMessage
  28. def toPMessage: PMessage

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. def withAtomic(__v: Boolean): CommitRequest

    Permalink
  35. def withCallerId(__v: CallerID): CommitRequest

    Permalink
  36. def withSession(__v: Session): CommitRequest

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

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

    Permalink
    Definition Classes
    CommitRequest → GeneratedMessage
  39. 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[CommitRequest]

Inherited from Message[CommitRequest]

Inherited from GeneratedMessage

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped