Uses of Interface
org.opencastproject.util.function.ThrowingFunction
Packages that use ThrowingFunction
-
Uses of ThrowingFunction in org.opencastproject.db
Methods in org.opencastproject.db with parameters of type ThrowingFunctionModifier and TypeMethodDescription<T,E extends Throwable>
TDBSession.execChecked(ThrowingFunction<javax.persistence.EntityManager, T, E> fn) Execute given function that can throw a checked exception without opening a new transaction.<T,E extends Throwable>
TDBSessionImpl.execChecked(ThrowingFunction<javax.persistence.EntityManager, T, E> fn) <T,E extends Throwable>
TDBSession.execTxChecked(int maxTransactionRetries, ThrowingFunction<javax.persistence.EntityManager, T, E> fn) Execute given function that can throw a checked exception within a transaction.<T,E extends Throwable>
TDBSession.execTxChecked(ThrowingFunction<javax.persistence.EntityManager, T, E> fn) Execute given function that can throw a checked exception within a transaction.<T,E extends Throwable>
TDBSessionImpl.execTxChecked(int maxTransactionRetries, ThrowingFunction<javax.persistence.EntityManager, T, E> fn) <T,E extends Throwable>
TDBSessionImpl.execTxChecked(ThrowingFunction<javax.persistence.EntityManager, T, E> fn) -
Uses of ThrowingFunction in org.opencastproject.util.function
Methods in org.opencastproject.util.function that return ThrowingFunctionModifier and TypeMethodDescriptiondefault <V> ThrowingFunction<T, V, ? extends Throwable> Returns a composed function that first applies this function to its input, and then applies theafterfunction to the result.default <V> ThrowingFunction<T, V, ? extends Throwable> ThrowingFunction.andThen(ThrowingFunction<? super R, ? extends V, ? extends Throwable> after) Returns a composed function that first applies this function to its input, and then applies theafterfunction to the result.default <V> ThrowingFunction<V, R, ? extends Throwable> Returns a composed function that first applies thebeforefunction to its input, and then applies this function to the result.default <V> ThrowingFunction<V, R, ? extends Throwable> ThrowingFunction.compose(ThrowingFunction<? super V, ? extends T, ? extends Throwable> before) Returns a composed function that first applies thebeforefunction to its input, and then applies this function to the result.static <T> ThrowingFunction<T, T, ? extends Throwable> ThrowingFunction.identity()Returns a function that always returns its input argument.Methods in org.opencastproject.util.function with parameters of type ThrowingFunctionModifier and TypeMethodDescriptiondefault <V> ThrowingFunction<T, V, ? extends Throwable> ThrowingFunction.andThen(ThrowingFunction<? super R, ? extends V, ? extends Throwable> after) Returns a composed function that first applies this function to its input, and then applies theafterfunction to the result.default <V> ThrowingFunction<V, R, ? extends Throwable> ThrowingFunction.compose(ThrowingFunction<? super V, ? extends T, ? extends Throwable> before) Returns a composed function that first applies thebeforefunction to its input, and then applies this function to the result.