|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.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)
Create a TransactionOptions that enables or disables the use of
multiple entity groups in a single transaction. |
static TransactionOptions |
withDefaults()
Helper method for creating a TransactionOptions instance with
default values. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static TransactionOptions allowMultipleEntityGroups(boolean enable)
TransactionOptions that enables or disables the use of
multiple entity groups in a single transaction. Shorthand for
TransactionOptions.withDefaults().allowMultipleEntityGroups(...);
enable - true to allow multiple entity groups in a transaction, false to
restrict transactions to a single entity group.
this (for chaining)public static TransactionOptions withDefaults()
TransactionOptions instance with
default values. The defaults are null for all values.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||