Class DatastoreTransactionManager.Tx
java.lang.Object
com.google.cloud.spring.data.datastore.core.DatastoreTransactionManager.Tx
- Enclosing class:
- DatastoreTransactionManager
A class to contain the transaction context.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.cloud.datastore.Datastore
com.google.cloud.datastore.Transaction
void
setTransaction
(com.google.cloud.datastore.Transaction transaction)
-
Constructor Details
-
Tx
public Tx(com.google.cloud.datastore.Datastore datastore)
-
-
Method Details
-
getTransaction
public com.google.cloud.datastore.Transaction getTransaction() -
setTransaction
public void setTransaction(com.google.cloud.datastore.Transaction transaction) -
getDatastore
public com.google.cloud.datastore.Datastore getDatastore()
-