Class HollowTransactionManager
java.lang.Object
com.apple.foundationdb.relational.recordlayer.HollowTransactionManager
- All Implemented Interfaces:
TransactionManager
@API(EXPERIMENTAL)
public class HollowTransactionManager
extends Object
implements TransactionManager
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
abort
(Transaction txn) void
commit
(Transaction txn) createTransaction
(com.apple.foundationdb.relational.api.Options options)
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
HollowTransactionManager
public HollowTransactionManager()
-
-
Method Details
-
createTransaction
public Transaction createTransaction(@Nonnull com.apple.foundationdb.relational.api.Options options) throws com.apple.foundationdb.relational.api.exceptions.RelationalException - Specified by:
createTransaction
in interfaceTransactionManager
- Throws:
com.apple.foundationdb.relational.api.exceptions.RelationalException
-
abort
public void abort(Transaction txn) throws com.apple.foundationdb.relational.api.exceptions.RelationalException - Specified by:
abort
in interfaceTransactionManager
- Throws:
com.apple.foundationdb.relational.api.exceptions.RelationalException
-
commit
public void commit(Transaction txn) throws com.apple.foundationdb.relational.api.exceptions.RelationalException - Specified by:
commit
in interfaceTransactionManager
- Throws:
com.apple.foundationdb.relational.api.exceptions.RelationalException
-