Executor iwt ExecutorService

Executor.java javadoc ties together
– ExecutorService.java extended-interface
– Executor.java parent-interface
– Executors.java — all-static utility class, similar to Collections and Arrays.

This Javadoc hints that

JDK *implementations* i.e. concrete classes provided in this package implement ExecutorService, which is a more extensive interface than Executor. The Executors class provides convenient factory methods for these Executors.

Remember the Lab49 IV question? There are just 2 executor services (bundled in JDK), so better know them
* ThreadPoolExecutor
* ScheduledThreadPoolExecutor

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s