Package io.quarkus.narayana.jta
Class RunOptionsBase
- java.lang.Object
-
- io.quarkus.narayana.jta.RunOptionsBase
-
- Direct Known Subclasses:
RunOptions,TransactionRunnerImpl
class RunOptionsBase extends Object
An abstract base for bothRunOptionsandTransactionRunnerImpl.Necessary because having
RunOptionsextendTransactionRunnerImpl., or the other way around, results in signature conflicts inexceptionHandler(Function).
-
-
Field Summary
Fields Modifier and Type Field Description (package private) Function<Throwable,TransactionExceptionResult>exceptionHandler(package private) TransactionSemanticssemantics(package private) inttimeout
-
Constructor Summary
Constructors Constructor Description RunOptionsBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) RunOptionsBasesetExceptionHandler(Function<Throwable,TransactionExceptionResult> handler)(package private) RunOptionsBasesetSemantics(TransactionSemantics semantics)(package private) RunOptionsBasesetTimeout(int seconds)
-
-
-
Field Detail
-
semantics
TransactionSemantics semantics
-
timeout
int timeout
-
exceptionHandler
Function<Throwable,TransactionExceptionResult> exceptionHandler
-
-
Method Detail
-
setTimeout
RunOptionsBase setTimeout(int seconds)
-
setSemantics
RunOptionsBase setSemantics(TransactionSemantics semantics)
-
setExceptionHandler
RunOptionsBase setExceptionHandler(Function<Throwable,TransactionExceptionResult> handler)
-
-