changes.mady.by.user Alan Bateman
Saved on Apr 23, 2020
Saved on Apr 28, 2020
...
Instant deadline = Instant.now().plusSeconds(30); try (ExecutorService executor = Executors.newUnboundedExecutornewUnboundedVirtualThreadExecutor(factory).withDeadline(deadline)) { : }