Package org.apache.cxf.workqueue

## Class OneShotAsyncExecutor

- java.lang.Object
- - org.apache.cxf.workqueue.OneShotAsyncExecutor

- All Implemented Interfaces:
    `Executor`

      public final class OneShotAsyncExecutor
      extends Object
      implements Executor

  Used to provide simple async Executor semantics by creating a one-shot thread.

- - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `execute​(Runnable command)` |
    `static OneShotAsyncExecutor` | `getInstance()` |
    `static boolean` | `isA​(Executor executor)` |

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### execute

          public void execute​(Runnable command)

      Specified by:
        `execute` in interface `Executor`

    - #### getInstance

          public static OneShotAsyncExecutor getInstance()

    - #### isA

          public static boolean isA​(Executor executor)