StackOverflow Questions for Tag: java.util.concurrent

Awan Biru
Awan Biru

Reputation: 484

Is this class thread-safe and follow the specification?

Score: -3

Views: 98

Answers: 1

Read More
David Černý
David Černý

Reputation: 3

Spring 6.2 DefaultManagedTaskExecutor throws java.lang.UnsupportedOperationException: isShutdown when rejecting tasks

Score: 0

Views: 62

Answers: 2

Read More
Paul C
Paul C

Reputation: 8497

How to do a lazy create and set with AtomicReference in a safe and efficient manner?

Score: 26

Views: 24227

Answers: 8

Read More
r2d2
r2d2

Reputation: 19

Forking exception handling in Java CompletableStage

Score: 1

Views: 87

Answers: 2

Read More
Geek
Geek

Reputation: 23419

Run Java Threads sequentially

Score: 13

Views: 37073

Answers: 14

Read More
Eran Medan
Eran Medan

Reputation: 45775

Java example of using ExecutorService and PipedReader/PipedWriter (or PipedInputStream/PipedOutputStream) for consumer-producer

Score: 2

Views: 4593

Answers: 2

Read More
hyde
hyde

Reputation: 62888

AtomicInteger.incrementAndGet() vs. AtomicInteger.getAndIncrement()

Score: 65

Views: 35521

Answers: 6

Read More
user2023577
user2023577

Reputation: 2121

Can't reproduce virtual thread pinning (jdk 21), yet mysql not as parallel as should be

Score: 2

Views: 196

Answers: 1

Read More
Fabio Abreu
Fabio Abreu

Reputation: 45

Queued Thread Pool High CPU Usage

Score: 1

Views: 164

Answers: 0

Read More
indika
indika

Reputation: 923

afterExecute method is not invoked defined in CustomThreadPoolExecutor that is passed to RabbitMQ Spring SimpleRabbitListenerContainerFactory

Score: 0

Views: 19

Answers: 1

Read More
Daniel
Daniel

Reputation: 2515

FixedThreadPool vs CachedThreadPool: the lesser of two evils

Score: 119

Views: 98314

Answers: 4

Read More
pixel
pixel

Reputation: 26503

How to interact with concurrent collections from Kotlin?

Score: 1

Views: 88

Answers: 2

Read More
user1918858
user1918858

Reputation: 1208

Missed signal in a Java

Score: 0

Views: 80

Answers: 2

Read More
Alexander Schell
Alexander Schell

Reputation: 38

Java 21 Create StructuredTaskScope from ExecutorService

Score: 0

Views: 76

Answers: 0

Read More
Cratylus
Cratylus

Reputation: 54094

ExecutorCompletionService? Why do need one if we have invokeAll?

Score: 51

Views: 35980

Answers: 4

Read More
Geek
Geek

Reputation: 27199

Difference between shutdown and shutdownNow of Executor Service

Score: 90

Views: 70662

Answers: 3

Read More
Ricker Silva
Ricker Silva

Reputation: 1135

load test in jmeter is generating duplicate consecutive IDs using multiple threads

Score: 0

Views: 36

Answers: 2

Read More
Anonymous9991
Anonymous9991

Reputation: 11

Concurrent round robin implementation fails

Score: 1

Views: 59

Answers: 0

Read More
Ben
Ben

Reputation: 1116

How to Block and wait using AtomicBoolean

Score: 24

Views: 31761

Answers: 5

Read More
MangKyu
MangKyu

Reputation: 51

Java concurrency problem by multi-thread not occured and automatically synchronized

Score: 1

Views: 119

Answers: 1

Read More
PreviousPage 1Next