Subject not found.
1.

Name Any Class That Implements Executor Or Executorservice Interface?

Answer»

In the Java concurrency there are three pre DEFINED executor CLASSES that implement the Executor and ExecutorService interface.

  • ThreadPoolExecutor - Implements the Executor and ExecutorService interfaces and executes the SUBMITTED task using one of the pooled THREAD.
  • ScheduledThreadPoolExecutor - It extends ThreadPoolExecutor and also implements the ScheduledExecutorService. This class schedule commands to run after a GIVEN delay, or to execute periodically.
  • ForkJoinPool - It implements the Executor and ExecutorService interfaces and is used by the Fork/Join Framework.

In the Java concurrency there are three pre defined executor classes that implement the Executor and ExecutorService interface.



Discussion

No Comment Found