T - the type of the function argumentpublic interface FunctionExecutor<T>
| Modifier and Type | Method and Description |
|---|---|
<R,E extends Exception> |
execute(org.wildfly.common.function.ExceptionFunction<T,R,E> function)
Executes the given function.
|
<R,E extends Exception> R execute(org.wildfly.common.function.ExceptionFunction<T,R,E> function) throws E extends Exception
R - the return typeE - the exception typefunction - a function to executeE - if the function fails to executeE extends ExceptionCopyright © 2021 JBoss by Red Hat. All rights reserved.