com.h3c.util.concurrent

## Interface RunnableExecutor

- All Known Subinterfaces:
    TaskExecutorService, ThreadExecutor
  All Known Implementing Classes:
    DefaultThreadExecutor, ThreadMonitor

      public interface RunnableExecutor

  Runnable executor.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Future<?>` | `submit(Runnable task)` This method is use to decouple execution of task i.e.

- - ### Method Detail

    - #### submit

          Future<?> submit(Runnable task)

      This method is use to decouple execution of task i.e. to have a task executed in the context of a worker thread instead of in the context of the calling thread.
      Parameters:
        `task` - task to be executed
      Returns:
        a Future instance related to the result of the execution of the task.

Copyright © 2014. All Rights Reserved.