約102件1ページ目

日本語のみで絞り込む

2023/6/25 -The ExecutorService , Future , and Callable are Java concurrency concepts that provide a high-level abstraction for executing tasks ...

Here is a simple example of Java Callable task that returns the name of thread executing the task after one second. We are using Executor framework to execute ...

2025/9/18 -submit() submits a Callable or a Runnable task to an ExecutorService and returns a result of type Future: Future<String> future = ...

2012/4/24 -I would try. static final ExecutorService service = Executors.newFixedThreadPool(4); Callable call = service.submit(call);.

CompletableFuture in Java with Examples Part-1 | Asynchronous Operations | Multithreading. Lazy Programmer ; Java ExecutorService Complete Guide ...

YouTubeLazy Programmer

2026/4/25 -The Future interface represents the outcome of an asynchronous task and allows you to interact with it after submission to an ExecutorService.

2023/6/7 -Thread, Runnable, Callable, ExecutorService, and Future - all the ways to create threads in Java · 1. Intro · 2. By extending Thread class · 3.

2018/4/9 -In this article, I am going to give you an example and some notes about using them in concurrent programming. ... –submit(Runnable or Callable<T>) ...

An Executor that provides methods to manage termination and methods that can produce a Future for tracking progress of one or more asynchronous tasks.

2013/8/14 -It is used to provide a simple, Runnable-like API to insert your executable code into FutureTasks, where some return value is expected.