public class AbortTxnFunction extends Object implements TransactionalFunction<TxnType>
| Constructor and Description |
|---|
AbortTxnFunction(AbortTxnRequest rqst) |
| Modifier and Type | Method and Description |
|---|---|
TxnType |
execute(MultiDataSourceJdbcResource jdbcResource)
Implementations typically should execute transsactional database calls inside.
|
public AbortTxnFunction(AbortTxnRequest rqst)
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.