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 replacement
Extends Executor to additionally support a ExceptonRunnable.
Author:
Paul Ferraro
  • Method Summary

    Modifier and Type
    Method
    Description
    <E extends Exception>
    void
    execute(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.

    Methods inherited from interface java.util.concurrent.Executor

    execute
  • Method Details

    • execute

      <E extends Exception> void execute(org.wildfly.common.function.ExceptionRunnable<E> runner) throws E
      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 fails