|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Transaction
Describes a logical unit of work to be performed against the datastore.
Operations performed as part of a single Transaction succeed or fail
as a unit.
| Method Summary | |
|---|---|
void |
commit()
Commits the transaction. |
java.lang.String |
getId()
|
void |
rollback()
Rolls back the transaction. |
| Method Detail |
|---|
void commit()
IllegalStateException.
java.lang.IllegalStateException - If the transaction has already been
committed, rolled back, or an attempt to commit or roll back has
already failed.
DatastoreFailureException - If a datastore error occurs.void rollback()
IllegalStateException.
java.lang.IllegalStateException - If the transaction has already been
committed, rolled back, or an attempt to commit or roll back has
already failed.
DatastoreFailureException - If a datastore error occurs.java.lang.String getId()
Transaction.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||