Uses of Interface
org.mycore.common.function.MCRThrowableTask
-
Uses of MCRThrowableTask in org.mycore.common
Modifier and TypeMethodDescriptionstatic <T extends Throwable>
voidMCRUtils.measure
(TimeUnit unit, Consumer<Long> timeHandler, MCRThrowableTask<T> task) Measures the time of a method call.MCRUtils.measure
(MCRThrowableTask<T> task) Measures and logs the time of a method call -
Uses of MCRThrowableTask in org.mycore.common.function
Modifier and TypeMethodDescriptiondefault MCRThrowableTask<T>
MCRThrowableTask.andThen
(MCRThrowableTask<? extends T> after) Returns a composed task that first this task, and then runs theafter
task.default MCRThrowableTask<T>
MCRThrowableTask.compose
(MCRThrowableTask<? extends T> before) Returns a composed task that first runs thebefore
task, and then runs this task.Modifier and TypeMethodDescriptiondefault MCRThrowableTask<T>
MCRThrowableTask.andThen
(MCRThrowableTask<? extends T> after) Returns a composed task that first this task, and then runs theafter
task.default MCRThrowableTask<T>
MCRThrowableTask.compose
(MCRThrowableTask<? extends T> before) Returns a composed task that first runs thebefore
task, and then runs this task.