public class CommitTxnFunction extends Object implements TransactionalFunction<TxnType>
| Constructor and Description |
|---|
CommitTxnFunction(CommitTxnRequest rqst,
List<TransactionalMetaStoreEventListener> transactionalListeners) |
| Modifier and Type | Method and Description |
|---|---|
TxnType |
execute(MultiDataSourceJdbcResource jdbcResource)
Implementations typically should execute transsactional database calls inside.
|
public CommitTxnFunction(CommitTxnRequest rqst, List<TransactionalMetaStoreEventListener> transactionalListeners)
public TxnType execute(MultiDataSourceJdbcResource jdbcResource) throws MetaException, NoSuchTxnException, TxnAbortedException
TransactionalFunctionexecute in interface TransactionalFunction<TxnType>jdbcResource - A MultiDataSourceJdbcResource instance responsible for providing all the necessary resources
to be able to perform transactional database calls.MetaException - Thrown in case of application error within the functionNoSuchTxnExceptionTxnAbortedExceptionCopyright © 2024 The Apache Software Foundation. All rights reserved.