Interface TransactionManager
- All Known Implementing Classes:
HollowTransactionManager
,RecordLayerTransactionManager
public interface TransactionManager
-
Method Summary
Modifier and TypeMethodDescriptionvoid
abort
(Transaction txn) void
commit
(Transaction txn) createTransaction
(com.apple.foundationdb.relational.api.Options connectionOptions)
-
Method Details
-
createTransaction
Transaction createTransaction(@Nonnull com.apple.foundationdb.relational.api.Options connectionOptions) throws com.apple.foundationdb.relational.api.exceptions.RelationalException - Throws:
com.apple.foundationdb.relational.api.exceptions.RelationalException
-
abort
void abort(Transaction txn) throws com.apple.foundationdb.relational.api.exceptions.RelationalException - Throws:
com.apple.foundationdb.relational.api.exceptions.RelationalException
-
commit
void commit(Transaction txn) throws com.apple.foundationdb.relational.api.exceptions.RelationalException - Throws:
com.apple.foundationdb.relational.api.exceptions.RelationalException
-