O
- public class TransactorNo<O extends Objectify> extends Transactor<O>
deferrer, session
Constructor and Description |
---|
TransactorNo(Objectify ofy) |
TransactorNo(Objectify ofy,
Session session) |
Modifier and Type | Method and Description |
---|---|
<R> R |
execute(ObjectifyImpl<O> parent,
TxnType txnType,
Work<R> work) |
TransactionImpl |
getTransaction() |
<R> R |
transact(ObjectifyImpl<O> parent,
Work<R> work) |
ObjectifyImpl<O> |
transactionless(ObjectifyImpl<O> parent) |
<R> R |
transactNew(ObjectifyImpl<O> parent,
int limitTries,
Work<R> work) |
getDeferrer, getSession
public TransactorNo(Objectify ofy)
public TransactionImpl getTransaction()
getTransaction
in class Transactor<O extends Objectify>
public ObjectifyImpl<O> transactionless(ObjectifyImpl<O> parent)
transactionless
in class Transactor<O extends Objectify>
parent
- is the parent objectify instance; the one being transitioned frompublic <R> R execute(ObjectifyImpl<O> parent, TxnType txnType, Work<R> work)
execute
in class Transactor<O extends Objectify>
Objectify.execute(TxnType, Work)
public <R> R transact(ObjectifyImpl<O> parent, Work<R> work)
transact
in class Transactor<O extends Objectify>
Objectify.transact(Work)
public <R> R transactNew(ObjectifyImpl<O> parent, int limitTries, Work<R> work)
transactNew
in class Transactor<O extends Objectify>
Objectify.transactNew(int, Work)
Copyright © 2015. All rights reserved.