Package com.google.cloud.datastore
Interface Datastore.TransactionCallable<T>
-
- Type Parameters:
T- the type of the return value
- Enclosing interface:
- Datastore
public static interface Datastore.TransactionCallable<T>A callback for running with a transactionalDatastoreReaderWriter. The associated transaction will be committed after a successful return from therunmethod. Any propagated exception will cause the transaction to be rolled-back.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Trun(DatastoreReaderWriter readerWriter)
-
-
-
Method Detail
-
run
T run(DatastoreReaderWriter readerWriter) throws Exception
- Throws:
Exception
-
-