T
- the type of the return valuepublic static interface Datastore.TransactionCallable<T>
DatastoreReaderWriter
. The associated transaction will be committed
after a successful return from the run
method. Any propagated exception will cause the
transaction to be rolled-back.Modifier and Type | Method and Description |
---|---|
T |
run(DatastoreReaderWriter readerWriter) |
T run(DatastoreReaderWriter readerWriter) throws Exception
Exception
Copyright © 2019 Google LLC. All rights reserved.