Class TransactionImpl

java.lang.Object
com.googlecode.objectify.util.cmd.TransactionWrapper
com.googlecode.objectify.impl.TransactionImpl
All Implemented Interfaces:
com.google.appengine.api.datastore.Transaction

public class TransactionImpl
extends TransactionWrapper
  • Constructor Details

    • TransactionImpl

      public TransactionImpl(com.google.appengine.api.datastore.Transaction raw, TransactorYes<?> transactor)
  • Method Details

    • enlist

      public void enlist(Result<?> result)
      Enlist any operations that modify the session.
    • listenForCommit

      public void listenForCommit(Runnable listener)
      Add a listener to be called after the transaction commits.
    • runCommitListeners

      public void runCommitListeners()
    • commit

      public void commit()
      Specified by:
      commit in interface com.google.appengine.api.datastore.Transaction
      Overrides:
      commit in class TransactionWrapper
    • commitAsync

      public Future<Void> commitAsync()
      Specified by:
      commitAsync in interface com.google.appengine.api.datastore.Transaction
      Overrides:
      commitAsync in class TransactionWrapper