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 TypeMethodDescriptionvoidabort(Transaction txn) voidcommit(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:
createTransactionin 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:
abortin 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:
commitin interfaceTransactionManager- Throws:
com.apple.foundationdb.relational.api.exceptions.RelationalException
-