Executor Service

A service that manages worker threads and schedules submitted tasks.

What is Executor Service in Java?

Executor Service — A service that manages worker threads and schedules submitted tasks.

import java.util.concurrent.Callable;

class OrderTotal {
    Callable<Integer> calculation = () -> 6 * 7;
}

Level: Master · More Java terms at this level

Updated