|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.google.appengine.api.datastore.TransactionOptions.Builder
public static final class TransactionOptions.Builder
Contains static creation methods for TransactionOptions
.
Method Summary | |
---|---|
static TransactionOptions |
allowMultipleEntityGroups(boolean enable)
Deprecated. |
static TransactionOptions |
withDefaults()
Helper method for creating a TransactionOptions instance with
default values. |
static TransactionOptions |
withXG(boolean enable)
Create a TransactionOptions that enables or disables the use of
cross-group transactions. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static TransactionOptions withXG(boolean enable)
TransactionOptions
that enables or disables the use of
cross-group transactions. Shorthand for
TransactionOptions.withDefaults().setXG(...);
enable
- true to allow cross-group transactions, false to
restrict transactions to a single entity group.
this
(for chaining)@Deprecated public static TransactionOptions allowMultipleEntityGroups(boolean enable)
#withXG}
public static TransactionOptions withDefaults()
TransactionOptions
instance with
default values. The defaults is false (disabled) for XG.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |