Interface Executor
-
- All Superinterfaces:
Executor
- All Known Subinterfaces:
ServiceExecutor
- All Known Implementing Classes:
StampedLockServiceExecutor
@Deprecated(forRemoval=true) public interface Executor extends Executor
Deprecated, for removal: This API element is subject to removal in a future version.To be removed without replacementExtendsExecutorto additionally support aExceptonRunnable.- Author:
- Paul Ferraro
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description <E extends Exception>
voidexecute(org.wildfly.common.function.ExceptionRunnable<E> runner)Deprecated, for removal: This API element is subject to removal in a future version.Executes the specified runner.
-
-
-
Method Detail
-
execute
<E extends Exception> void execute(org.wildfly.common.function.ExceptionRunnable<E> runner) throws E extends Exception
Deprecated, for removal: This API element is subject to removal in a future version.Executes the specified runner.- Type Parameters:
E- the exception type- Parameters:
runner- a runnable task- Throws:
E- if execution failsE extends Exception
-
-