Uses of Class
io.quarkus.narayana.jta.RunOptions
-
Packages that use RunOptions Package Description io.quarkus.narayana.jta -
-
Uses of RunOptions in io.quarkus.narayana.jta
Methods in io.quarkus.narayana.jta that return RunOptions Modifier and Type Method Description RunOptionsRunOptions. exceptionHandler(Function<Throwable,RunOptions.ExceptionResult> handler)Provides an exception handler that can make a decision to rollback or commit based on the type of exception.static RunOptionsQuarkusTransaction. runOptions()RunOptionsRunOptions. semantic(RunOptions.Semantic semantic)Sets the transaction semantic that is used to determine the action to take if a transaction is already active.RunOptionsRunOptions. timeout(int seconds)Sets the transaction timeout for transactions created by this builder.Methods in io.quarkus.narayana.jta with parameters of type RunOptions Modifier and Type Method Description static <T> TQuarkusTransaction. call(RunOptions options, Callable<T> task)Calls a task in a new transaction with the default timeout.static <T> TQuarkusTransactionImpl. call(RunOptions options, Callable<T> task)static voidQuarkusTransaction. run(RunOptions options, Runnable task)Runs a task in a new transaction with the default timeout.
-