Class TransactionHelper

java.lang.Object
com.google.appengine.api.datastore.TransactionHelper

public final class TransactionHelper extends Object
TransactionHelper enables the task queue API to serialize a datastore transaction without knowing the details of how it is implemented.
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    setTransaction(Transaction txn, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.Builder request)
    Sets either the transaction or datastore_transaction field in a TaskQueueAddRequest depending on what kind of transaction is provided.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • setTransaction

      public static void setTransaction(Transaction txn, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.Builder request)
      Sets either the transaction or datastore_transaction field in a TaskQueueAddRequest depending on what kind of transaction is provided.