public enum ImplicitTransactionManagementPolicy extends java.lang.Enum<ImplicitTransactionManagementPolicy>
ConcurrentModificationException. If your application
needs to perform any sort of intelligent merging when concurrent attempts
are made to update the same entity group you probably want AUTO,
otherwise NONE is probably acceptable.
See DatastoreService for a list of operations that perform implicit
transaction management.| Enum Constant and Description |
|---|
AUTO
If a current transaction exists, use it, otherwise create one.
|
NONE
If a current transaction exists, use it, otherwise execute without a
transaction.
|
| Modifier and Type | Method and Description |
|---|---|
static ImplicitTransactionManagementPolicy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ImplicitTransactionManagementPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ImplicitTransactionManagementPolicy NONE
public static final ImplicitTransactionManagementPolicy AUTO
public static ImplicitTransactionManagementPolicy[] values()
for (ImplicitTransactionManagementPolicy c : ImplicitTransactionManagementPolicy.values()) System.out.println(c);
public static ImplicitTransactionManagementPolicy valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant
with the specified namejava.lang.NullPointerException - if the argument is null