Class CommitResponse


  • public class CommitResponse
    extends Object
    Represents a response from a commit operation.
    • Constructor Detail

      • CommitResponse

        public CommitResponse​(com.google.cloud.Timestamp commitTimestamp)
    • Method Detail

      • getCommitTimestamp

        public com.google.cloud.Timestamp getCommitTimestamp()
        Returns a Timestamp representing the commit time of the transaction.
      • getCommitStats

        public CommitStats getCommitStats()
        Commit statistics are returned by a read/write transaction if specifically requested by passing in Options.commitStats() to the transaction.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object