Package com.googlecode.objectify.impl
Class TransactorNo<O extends Objectify>
java.lang.Object
com.googlecode.objectify.impl.Transactor<O>
com.googlecode.objectify.impl.TransactorNo<O>
- Type Parameters:
O
-
public class TransactorNo<O extends Objectify> extends Transactor<O>
- Author:
- jeff
-
Field Summary
Fields inherited from class com.googlecode.objectify.impl.Transactor
deferrer, session
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<R> R
execute(ObjectifyImpl<O> parent, TxnType txnType, Work<R> work)
<R> R
transact(ObjectifyImpl<O> parent, Work<R> work)
transactionless(ObjectifyImpl<O> parent)
<R> R
transactNew(ObjectifyImpl<O> parent, int limitTries, Work<R> work)
Methods inherited from class com.googlecode.objectify.impl.Transactor
getDeferrer, getSession
-
Constructor Details
-
TransactorNo
-
TransactorNo
-
-
Method Details
-
getTransaction
- Specified by:
getTransaction
in classTransactor<O extends Objectify>
- Returns:
- the transaction appropriate to this transaction state, or null if there is no transaction.
-
transactionless
- Specified by:
transactionless
in classTransactor<O extends Objectify>
- Parameters:
parent
- is the parent objectify instance; the one being transitioned from- Returns:
- an Objectify instance that is suitable for transactionless execution. In the case of a transactor which is not in a transaction, probably this is the same as getObjectify().
-
execute
- Specified by:
execute
in classTransactor<O extends Objectify>
- See Also:
Objectify.execute(TxnType, Work)
-
transact
- Specified by:
transact
in classTransactor<O extends Objectify>
- See Also:
Objectify.transact(Work)
-
transactNew
- Specified by:
transactNew
in classTransactor<O extends Objectify>
- See Also:
Objectify.transactNew(int, Work)
-